From: jim john (jim.john.c@hotmail.com)
Date: Fri Jul 11 2008 - 05:48:24 ART
Hi Marc,
Not sure where it is in DocCD , but i found this one handy in some
forum ..
might be useful for you
TCL Script to ping:
Router#tclsh
foreach address {
10.0.0.1
10.0.0.2
10.0.0.3
} { ping $address re 3 ti 1 }
Type escape sequence to abort.
Sending 10, 1500-byte ICMP Echos to 172.12.23.2, timeout is 2 seconds:
!!!!!!!!!!
as long as TCL is not supported on Catalyst switches so we need to define a
macro for this purpose:
Define a Ping Macro for Catalyst Switches:
Switch(config-if)#macro name PING
do ping 10.0.0.100
do ping 10.0.1.100
do ping 10.0.2.100
@
Switch(config)#macro global apply PING
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.100, timeout is 2 seconds:
!!!!!
Thanks,
-Jim
> Date: Fri, 11 Jul 2008 10:21:18 +0200
> From: marc.a.laporte@gmail.com
> To: ccielab@groupstudy.com
> Subject: TCL and Macro Ping Scripts
>
> Hi experts,
>
> Does anyone know where I can find TCL ping scripts on the DocCD?
>
> Thanks
> Marc
>
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
This archive was generated by hypermail 2.1.4 : Mon Aug 04 2008 - 06:11:54 ART