Users Guide

Switch Management Commands 1915
Command Mode
Global Configuration mode
User Guidelines
The predefined macros are useful in globally configuring the switch or a
specific interface in the configuration context indicated. The macros contain
a short series of commands with suggested settings for the switch or interface
when used in a particular type of service.
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-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.
global profile-compellent-nas Configure a port for connection to a
Compellent NAS.
Macro Context Name Service