Re: Break out of TCL script ?

From: Michy Eika (cciemaster@shingor.net)
Date: Thu May 11 2006 - 11:33:13 ART


This page will help you.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t8/ftauth.htm#60175

Michy
----- Original Message -----
From: "Aaron Weaver" <aaron.weaver77@gmail.com>
To: "Emir trhulj" <skimad@gmail.com>
Cc: <ccielab@groupstudy.com>
Sent: Thursday, May 11, 2006 11:14 PM
Subject: Re: Break out of TCL script ?

Did you enable rsh on the router you are trying to connect to?

On 5/11/06, Emir trhulj <skimad@gmail.com> wrote:
>
> Hello,
>
> Does anyone know how to break out of TCL script that has been run but
> there
> is some error with it.
>
> Ie..
>
> tclsh
> foreach p {
> 157.1.148.1
> 150.1.1.1
> 157.1.123.1
> } {puts [exec "rsh 150.1.7.7 ping $p "]}
>
> "150.1.7.7" is an incorrect ip and the script will run until everything
> eventually times out.
>
> % Connection refused by remote host
>
> % Connection refused by remote host
>
> % Connection refused by remote host
>
> It takes quite sometime unitl it times out and I can't figure out how to
> break the process.
>
> Hope someone can help.
>
> Emir
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



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