Break a TCLSH ping loop

From: Lucky (iamreallylucky@gmail.com)
Date: Sun Feb 17 2008 - 14:44:23 ARST


Dear group.,

Can anybody in help me to break a tclsh loop.

I had run a tclsh to check the connectivity by mistake i have put the call
function inside itself.

SO IT GO ON A MERY ROUND - IT Is LOOPING - so i am not able to work on the
router.
Another thing i am unable to reboot the router since i am on online rack and
there are no people in online support to reboot the router.

proc ping-i {} {
foreach i {
3.3.1.1
3.3.2.2
3.3.3.3
} { puts [ exec "ping $i" ]
}
ping-i
}

ping-i

so what happen ping-i is going in loop.
ANY IDEA HOW TO BREAK THE LOOP.

Otherwise any way of reload ing the router from a remote router , i have not
done telent config also .

any way to tackle this case.
from r1 is it possible to reload r2 - any commands

thanks in advance.

Lucky



This archive was generated by hypermail 2.1.4 : Sat Mar 01 2008 - 16:54:48 ARST