CLI Macro Commands 1341
Command Mode
Global Configuration mode
User Guidelines
Macros consist of text commands with one command per line. Enter the
commands and terminate macro input mode by entering a single at sign (@)
on a line by itself.
A macro may utilize up to 3 parameters. Parameters are text strings that begin
with a dollar sign ($). Parameters are substituted by specifying the parameter
on the command line when the macro is applied.
Macros may be applied to a specific interface, a range of interfaces, or to the
global configuration. Up to 50 user-defined macros may be configured.
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 Default Definition
default global :profile-global
default interface :profile-desktop
default interface :profile-phone
default interface :profile-switch
default interface :profile-router
default interface :profile-wireless
default global :profile-compellent-nas
2CSPC4.XCT-SWUM2XX1.book Page 1341 Monday, October 3, 2011 11:05 AM