Thursday, 16 July 2009

Testing IP connectivity with a switch macro command

Use the Cisco switch IOS macro command to create a IP connectivity tester.
Create a macro like the one below the name "ctest" is just an example, call it what you like

macro name ctest
do ping 172.16.56.1
do ping 172.16.43.1
do ping 172.16.34.1
do ping 172.16.13.1
@

Then all you need to do is run the macro in global configuration mode, easy

macro global apply ctest

JB

No comments:

Post a Comment