free hit counter

Macro Description - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

32
691

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
text
macro description
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
command.
Example
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
switchxxxxxx(config)#
switchxxxxxx(config-if)#
interface gi12
macro apply dup
exit
interface gi13
macro apply duplex $DUPLEX full $SPEED 100
OL-32830-01 Command Line Interface Reference Guide
Macro Commands
show parser macro

Advertisement

Table of Contents
loading