Re: TCL Scripting

From: Mathew Fernando (mathewfer@gmail.com)
Date: Wed May 31 2006 - 01:45:57 ART


Hi Jan,

Have a look at this link -
http://www.internetworkexpert.com/resources/tclshrsh.htm

I am sure it will be very handy & faster if you can use it in the LAB.

mathew

On 5/31/06, Kenneth Huss <khuss@nc.rr.com> wrote:
> Jan
>
> Here is a nice sample of a tcl script to ping a series of ip address
>
> tclsh will pop you it the TCL shell
>
> Then just memorize the below format to build a speedy pinger script that you
> can use to hit every address in your network.
>
> In the below example the letter i is just a variable that you can replace
> with any other letter or word.
>
> Do the show IP alias command in each router to quickly obtain the list of IP
> address you will want to fill out this script with, and have fun pinging the
> network.
>
> Once you are done with the script...just enter tclq to break out of the TCL
> shell.
>
> Have fun.
>
> Oh one last thing, if you enter TCLSH and do not get a TCL prompt, then the
> version and or featureset of IOS you are using does not support TCL.
>
>
> tclsh
> foreach i {
> 150.5.1.1
> 162.5.13.1
> 192.10.5.1
> 192.10.5.254
> 150.5.2.2
> 162.5.0.2
> 162.5.27.2
> 162.5.38.3
> 150.5.3.3
> 162.5.0.3
> 162.5.188.8
> 162.5.38.8
> 150.5.8.8
> 162.5.8.8
> 162.5.88.8
> 220.20.3.1
> 205.90.31.1 } {ping $i}
>
>
> KEN
>
>
> ----- Original Message -----
> From: "jan vdb" <jvdbro@yahoo.com>
> To: <ccielab@groupstudy.com>
> Sent: Tuesday, May 30, 2006 4:47 PM
> Subject: TCL Scripting
>
>
> > Hello,
> >
> > Is TCL scripting a requirement for doing the LAB?
> > Or can it be just used to do your own testing??
> >
> > Regards,
> >
> > Jan
> >
> >
> > ---------------------------------
> > How low will we go? Check out Yahoo! Messengers low PC-to-Phone call
> > rates.
> >
> > _______________________________________________________________________
> > 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
>

-- 
Thanks

Mathew



This archive was generated by hypermail 2.1.4 : Thu Jun 01 2006 - 06:33:22 ART