RE: TCL script for 3550/3560 [html-rem]

From: Victor Cappuccio (vcappuccio@ccbootcamp.com)
Date: Sat Aug 18 2007 - 06:10:34 ART


Lim, very good question..

Short reply: I do not know, I am still fighting as many for getting this Cert
and be Digitalized, if that makes any sense over life/time/money.

If you ask me, I would remove the configuration from the switch if they do not
include that in the Lab Wording. TCLSH can be use for a lot of fun stuff in
the routers, like the death Reachability Ping (very good to see problems in
redistributions/besides using deb ip routing) of the mater peace to be
evaluated by some person in the oposite side of world that gives not too much,
if we pass or not.

for your TCLSH configuration in the router could be

tclsh
foreach addr {
IPAdd1 <= Taken from show ip alias in all the routers
IPAddn
} {ping $addr}
TIP: Press the ALT key and move the mouse while pressing the left click over
SecureCRT - Fun Stuff -

or It could be very complicated to do what imaginations lets (like sending a
DTMF Tone to a AS5400, because a certain customer whats to listing again what
is the promo of the day)

Good look to both, and to everyone else trying to obtain the "Digits"

Thanks
Victor.-

BTW: I do not like to do aliases of any kind :)

-----Original Message-----
From: Toh Soon, Lim [mailto:tohsoon28@gmail.com]
Sent: Sat 18-Aug-07 12:25 AM
To: Victor Cappuccio
Cc: CCIE 19999; Cisco certification
Subject: Re: TCL script for 3550/3560 [html-rem]

Hi Victor,

I have limited experience of the subject being discussed here.

I'd like to know the purpose of setting up the macro; is it to verify our
configurations e.g. test IGP connectivity to all routers, or it is something
being asked to do in the lab?

If it is for verification purpose, should we remove the macro commands at
the end of the lab? What about those alias commands we may have created for
our own use?

Thank you.

B.Rgds,
Lim TS

On 8/18/07, Victor Cappuccio <vcappuccio@ccbootcamp.com> wrote:
>
> http://www.groupstudy.com/archives/ccielab/200608/msg01708.html
>
> Sw1(config)#macro name ping
> Enter macro commands one per line. End with the character '@'.
> do ping 154.1.6.6
> do ping 154.1.3.3
> @
> Sw1(config)#
> Sw1(config)#macro global apply ping
>
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 154.1.6.6, timeout is 2 seconds:
> !!!!!
> Success rate is 100 percent (5/5), round-trip min/avg/max = 124/124/124 ms
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 154.1.3.3, timeout is 2 seconds:
> !!!!!
> Success rate is 100 percent (5/5), round-trip min/avg/max = 60/61/64 ms
> Sw1(config)#
>
> thanks,
> Victor Cappuccio.-
> - CCSI# 31452
>
> CCBOOTCAMP - A Cisco Sponsored Organization (SO)
> vcappuccio@ccbootcamp.com
> Toll Free: 877-654-2243
> Direct: +1-702-968-5100 = Outside the USA
> FAX: +1-702-446-8012
> YES! We take Cisco Learning Credits!
> Training And Remote Racks: http://www.ccbootcamp.com
>
> Register to win a free iPhone! http://www.ccbootcamp.com/iphone.html
>
>
>
> -----Original Message-----
> From: nobody@groupstudy.com on behalf of CCIE 19999
> Sent: Sat 18-Aug-07 11:28 PM
> To: Cisco certification
> Subject: TCL script for 3550/3560
>
> HI guys,
>
>
>
> I am just wondering how you guys would run a ping test from a switch. I
> have
> tried the tcl script on the switches and obviously it won't work. I have
> searched in the archives and googled and could not find what I am looking
> for.
>
>
>
> Can you guys help me?
>
>
>
> Thank you,
>
>
>
> Shine
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Sep 01 2007 - 11:32:11 ART