Re: tcl script

From: Sami (sy1977@gmail.com)
Date: Fri Jul 07 2006 - 14:58:11 ART


Ivan,

I tried but router complain " +>#}
% Unknown command or computer name, or unable to find computer address

I created a username on switch by name of test and run it from 100.100.4.4 ,
switch loopback is 100.100.7.7

tclsh
foreach address {
100.100.1.1
100.100.2.2
100.100.3.3
100.100.4.4

} {
rsh 100.100.7.7/user test ping $address
}
tclquit

On 7/7/06, Ivan <ivan@iip.net> wrote:
>
> You can create tcl script on router and run any command through rsh
> lake(tcl)#foreach a {
> +>10.12.3.1
> +>10.12.3.2
> +>} {
> +>rsh 10.12.3.3 /user ivan ping $a
> +>}
>
>
> > Group,
> >
> > Is there any way to run tclscript on 3550 for checking connectivity ?
> >
> > Thanks
> > Sami
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> --
> Ivan



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