From: John T M (john_t_mathai@hotmail.com)
Date: Fri Feb 04 2005 - 21:31:32 GMT-3
Copy and paste it on the router privilege mode and you should see the
results. You should modify it slightly following way.
tclsh
foreach address {
x.x.x.x
x.x.x.x
x.x.x.x
x.x.x.x
x.x.x.x
x.x.x.x
} {
puts $address
ping $address
}
Regds/John
----- Original Message -----
From: "Narcis Micsoniu" <micsoniu@telus.net>
To: <ccielab@groupstudy.com>
Sent: Friday, February 04, 2005 11:03 AM
Subject: Tclsh script
> Provided that I intend to use the script below, how do I launch it ?
>
> tclsh
> !
> foreach address {
> x.x.x.x
> x.x.x.x
> x.x.x.x
> x.x.x.x
> x.x.x.x
> x.x.x.x
> } {
> ping $address
> }
>
> Thank you
>
> Narcis
>
> [GroupStudy removed an attachment of type application/ms-tnef which had a
name of winmail.dat]
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Thu Mar 03 2005 - 08:51:17 GMT-3