CLI Macro Commands 1345
macro trace
Use the macro trace command in Interface Configuration mode to apply and
trace a macro. The command will display each line of the macro as it is
executed and list any errors encountered.
Syntax
macro trace
macro-name
[parameter
value
] [parameter
value
][parameter
value
]
no macro name
name
Parameter Description
Default Configuration
No parameters are substituted unless supplied on the command line.
Command Mode
Interface Configuration mode
User Guidelines
The line number of the first error encountered is printed. The script is
aborted after the first error.
Commands applied are additive in nature. That is, they do not remove
existing configuration information by default.
Parameter Description
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.
2CSPC4.XCT-SWUM2XX1.book Page 1345 Monday, October 3, 2011 11:05 AM