GroupStudy.com GroupStudy.com - A virtual community of network engineers
 Home  BookStore  StudyNotes  Links  Archives  StudyRooms  HelpWanted  Discounts  Login
RE: Ping from 3550 switches sames as TCL script but using Macro posted 03/16/2007
[Chronological Index] [Thread Index] [Top] [Date Prev][Date Next] [Thread Prev][Thread Next]


Very nice tip !!! I usually test reachability from the 3550/3560's using
rsh. From now on I will use this technique. 

Thanks.

-----Original Message-----
From: nobody@xxxxxxxxxxxxxx [mailto:nobody@xxxxxxxxxxxxxx] On Behalf Of
kuldip singh
Sent: quinta-feira, 15 de Margo de 2007 23:38
To: ccielab@xxxxxxxxxxxxxx
Subject: Ping from 3550 switches sames as TCL script but using Macro

Hi guys,

Some of you guys might already know this, but you can ping all the networks
from 3550 switches by creating macro as shown below.



Switch_2(config)#macro name ping
Enter macro commands one per line. End with the character '@'.
do ping 147.1.156.1
do ping 140.1.1.1
do ping 147.1.11.1
do ping 147.1.14.1
do ping 183.1.111.1
do ping 147.1.236.2
@
Switch_2(config)#
Switch_2(config)#int fa0/14
Switch_2(config-if)#macro apply ping

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 147.1.156.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms Type
escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 140.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms Type
escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 147.1.11.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms Type
escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 147.1.14.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/30/32 ms Type
escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 183.1.111.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms Type
escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 147.1.236.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/60/68 ms
Switch_2(config-if)#


 regards.../dipa

_______________________________________________________________________
Subscription information may be found at: 
http://www.groupstudy.com/list/CCIELab.html