RE: reuse TCL script in router

From: Michael Zuo (mzuo@ixiacom.com)
Date: Mon May 28 2007 - 22:08:56 ART


Hi Jianbo,

You would have to memorize the script since you have to "re-create" it
in the real lab. You can write it in notepad and copy/paste while you
are doing a lab

Michael Zuo
CCIE #17800
CCIE notes for sale :)
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&ih=003&sspagename=STRK%3AM
ESE%3AIT&viewitem=&item=130117763671&rd=1&rd=1

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Kim
Sent: Sunday, May 27, 2007 4:31 PM
To: Du, Jianbo
Cc: ccielab@groupstudy.com
Subject: Re: reuse TCL script in router

Jianbo,
This script is reuseable in all other environment. All you need to do is
to change the ip address. You can save it to a txt file on your pc for
later reuse. It's not hard to memorize it either.

Regards,
Kim

On 5/27/07, Du, Jianbo <jdu@ebay.com> wrote:
>
> HI GS,
>
> I am a very junior TCL learner. Would anyone teach me how to reuse TCL

> script? Every time I put below into tclsh environment, it would run
> very well but seems only in tcl schell. Can I save them into somewhere

> and reuse in later time when I am doing CCIE lab?
>
>
> tcls
> foreach ip {
>
> 8.8.1.1
> 8.8.2.2
> 8.8.3.3
> 8.8.4.4
> 8.8.5.5
> 8.8.6.6
> 8.8.7.7
> 8.8.8.8
> } {ping $ip}
>
>
> Regards,
> Jerry
>
> ______________________________________________________________________
> _ Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>

--
http://www.isolvesystems.com


This archive was generated by hypermail 2.1.4 : Fri Jun 01 2007 - 06:55:22 ART