Sunday, October 5, 2008

3550 and 3560 Macros

The tclsh tool is not available on the 3550 and 3560 switches. Instead macros can be used to perform a similar function.

To define the macro in global config

macro name richping
do ping 1.1.1.1
do ping 2.2.2.2
@

To execute the macro

macro global apply richping

To remove the macro when finished.

no macro name richping

No comments: