From: Ronnie Angello (ronnie.angello@gmail.com)
Date: Tue May 29 2007 - 00:46:05 ART
They don't support TCL but you can use a macro.
CAT1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
CAT1(config)#macro name ping
Enter macro commands one per line. End with the character '@'.
do ping 10.10.123.1
do ping 10.10.123.2
do ping 10.10.123.3
do ping 10.10.34.3
do ping 10.10.34.4
do ping 10.10.34.15
do ping 10.10.34.16
@
CAT1(config)#macro global apply ping
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.123.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/8 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.123.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/12 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.123.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.34.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.34.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.34.15, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.34.16, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
CAT1(config)#
On 5/28/07, Rob McDonald <robmexpert@gmail.com> wrote:
>
> Hello,
>
> Is there a quick way to run the tcl scripts on the 3550s and 3560s for the
> ping test as we have them for the Routers.
>
> Thanks,
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
-- Ronald Angello CCIE #17846
This archive was generated by hypermail 2.1.4 : Fri Jun 01 2007 - 06:55:22 ART