Re: reuse TCL script in router

From: Kim (support@isolvesystems.com)
Date: Sun May 27 2007 - 20:30:45 ART


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