From: Michael Zuo (mzuo@ixiacom.com)
Date: Tue May 29 2007 - 12:12:09 ART
Yes you can :) and it is very useful in term of copying/pasting various
commnands
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: Du, Jianbo [mailto:jdu@ebay.com]
Sent: Monday, May 28, 2007 7:38 PM
To: Michael Zuo
Subject: RE: reuse TCL script in router
Can we open notepad in the lab? Cool!!! I throught we can not open an
program excepted windows terminal.
Regards,
Jerry
-----Original Message-----
From: Michael Zuo [mailto:mzuo@ixiacom.com]
Sent: Tuesday, May 29, 2007 9:09 AM
To: Kim; Du, Jianbo
Cc: ccielab@groupstudy.com
Subject: RE: reuse TCL script in router
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