Macro Commands
691
OL-32830-01 Command Line Interface Reference Guide
32
32.3 macro description
Use the macro description Interface Configuration mode command to append a
description, for example, a macro name, to the macro history of an interface. Use
the no form of this command to clear the macro history of an interface. When the
macro is applied to an interface, the switch automatically generates a macro
description command with the macro name. As a result, the name of the macro is
appended to the macro history of the interface.
Syntax
macro description
text
no macro description
Parameters
•
text
—Description text. The text can contain up to 160 characters. The text
must be double quoted if it contains multiple words.
Default Configuration
The command has no default setting.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
When multiple macros are applied on a single interface, the description text is a
concatenation of texts from a number of previously-applied macros.
To verify the settings created by this command, run the
show parser macro
command.
Example
switchxxxxxx(config)#
interface gi12
switchxxxxxx(config-if)#
macro apply dup
switchxxxxxx(config-if)#
exit
switchxxxxxx(config)#
interface gi13
switchxxxxxx(config-if)#
macro apply duplex $DUPLEX full $SPEED 100
Содержание 300 Series
Страница 2: ......