Re: Break out of TCL script ?

From: Emir trhulj (skimad@gmail.com)
Date: Thu May 11 2006 - 21:28:02 ART


The idea was to break out of a TCL script that was configured in error.

Thanks Curt. Your suggestion worked.

I got onto the router that was choking on the TCL script via telnet and this
cleared con 0.

On 5/12/06, Curt Girardin <curt.girardin@chicos.com> wrote:
>
>
> I've had a similar problem in my home lab before - I went to another
> router or switch in the lab, telnetted to the router that's choking on
> the TCL script, and typed in something like "clear line 0", which should
> be the console line. If memory serves me correctly, it cleared the
> console line for me and my problem went away.
>
> HTH,
>
> Curt
>
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Emir trhulj
> Sent: Thursday, May 11, 2006 9:41 AM
> To: ccielab@groupstudy.com
> Subject: Break out of TCL script ?
>
> 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