Pages

network cisco ccna gns3 certification arteq

network cisco ccna gns3 certification arteq
a network runs through it

Search insearchofthecert

Friday, April 27, 2012

ping macro...

for older code and unsupported hardware try, in global config mode... (end with @, it is saved)

dls1#sh run | beg macro
macro name ping
do ping 172.16.1.1
do ping 172.16.1.101 re 5
do ping 172.16.1.102 re 10
@

dls1(config)#macro global apply ping

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.101, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms
Type escape sequence to abort.
Sending 10, 100-byte ICMP Echos to 172.16.1.102, timeout is 2 seconds:
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 1/3/9 ms
dls1(config)#

No comments:

Post a Comment