RE: tcl script

From: Roberto Fernandez (rofernandez@us.telefonica.com)
Date: Fri Jul 07 2006 - 15:45:59 ART


Samy,

You can still run a rcmd rsh, from one of the routers, those are the
scripts I use them and work like a charm:

Script #1 (for the routers)
--------

foreach i {
1.1.1.1
2.2.2.2
3.3.3.3
} { puts [ "ping $i" ] }

Script #2 (for the switches, but ran from one of the routers)
--------
foreach i {
1.1.1.1
2.2.2.2
3.3.3.3
} { puts [ exec "rsh 3.3.3.3 ping $i"] } !!!switch ip addr!!!

To use this script #2 you need some previous config:

On the router
ip rcmd source interface 1.1.1.1 !!!router ip addr!!!

On the switch
ip rcmd rsh-enable
ip rcmd remote-host ROUTER-1 1.1.1.1 ROUTER-1

try it
best regards,
Roberto

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
anthony.sequeira@thomson.com
Sent: Friday, July 07, 2006 12:35 PM
To: sy1977@gmail.com; ccielab@groupstudy.com
Subject: RE: tcl script

According to Group Study - you CANNOT run the scripts on those devices.
I found this to be true in my lab attempts.

You should be fine testing from all of your other devices!

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Sami
Sent: Friday, July 07, 2006 12:18 PM
To: ccielab@groupstudy.com
Subject: tcl script

Group,

Is there any way to run tclscript on 3550 for checking connectivity ?

Thanks
Sami



This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:47 ART