Administrator Guide

Switch Management Commands 1934
macro global apply
Use the macro global apply command in Global Configuration mode to
apply a macro.
Syntax
macro global apply
macro-name
[
parameter value
] [
parameter
value
][
parameter value
]
macro-name
—The name of the macro.
parameter
The name of the parameter recognized by the macro. The
parameter must begin with a dollar sign ($).
value
The string to be substituted within the macro for the specified
parameter name.
Default Configuration
No parameters are substituted unless supplied on the command line.
Command Mode
Global Configuration mode
User Guidelines
Commands applied are additive in nature. That is, they do not remove
existing configuration information by default.
macro global trace
Use the macro global trace command in Global Configuration mode to apply
and trace a macro. The trace command will display each line of the macro as
it is executed and list any errors encountered.
Syntax
macro global trace
macro-name
[
parameter value
] [
parameter
value
][
parameter value
]
macro-name
The name of the macro.
2CSNXXX_SWUM204.book Page 1934 Monday, January 25, 2016 1:25 PM