RE: TCL on ISRs (2/3800 series)

From: "Griffith
Date: Wed Jan 04 2006 - 10:27:38 GMT-3


Dan,

That worked. As did:

foreach ip {
1.1.1.1
} { puts [ping $ip] }

So I looked up "puts" and apparently that's my unix echo equivalent.

Thanks much.

Darlene

-----Original Message-----
From: Dan Agache
To: Griffith, Darlene Ms DOIM/IMSE-STW-IM
Sent: 1/4/2006 8:10 AM
Subject: RE: TCL on ISRs (2/3800 series)

Hi,
 
I think that you have to use
foreach ip {
.....
.....
} { puts [exec "ping $ip"] }

Thanks,
Dan

"Griffith, Darlene Ms DOIM/IMSE-STW-IM" <darlene.griffith1@us.army.mil>
wrote:

I'm not getting the results I'm used to with the TCL ping scripts but I
do
think the TCL script is executing, just not displaying the results.
Depending on the number of devices I try to ping, the system takes a
variable amount of time to redisplay the TCL prompt. Pinging 5 devices
takes 19 seconds where 1 device takes 7 (more or less).

The same syntax does work on my older routers.

Since I don't really know TCL, I don't know if there's a command to
"echo"
the results or not... but that's where I was going to look next. Of
course,
there's probably a ton of people out there who already know the
answer...

Darlene

-----Original Message-----
From: kelvin@webmail.co.za
To: ccielab@groupstudy.com
Sent: 1/4/2006 7:25 AM
Subject: TCL on ISRs (2/3800 series)

Hi All

Has anyone managed to get the TCL script to excecute on the ISR (2/3800)
series routers?

For some reason I can't (running 12.4 enterprise) and I am so used to
using this method that I am concerned that when I get to the lab and
only have ISRs I will be stuck.

The ISR allows one to get into tcl mode but won't excecute the script.
It does nothing and remains in tcl mode.

I can rcmd to ISR from non_ISR router (eg 2/3600).

PLEASE HELP! and thanks in advance



This archive was generated by hypermail 2.1.4 : Wed Feb 01 2006 - 07:45:47 GMT-3