Cisco 300 Series Cli Manual page 60

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

3
Macro Commands
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 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
show parser
macro.
Example
switchxxxxxx(config)#interface gi2
switchxxxxxx(config-if)#macro apply dup
switchxxxxxx(config-if)#exit
switchxxxxxx(config)#interface gi3
switchxxxxxx(config-if)#macro apply duplex $DUPLEX full $SPEED 100
switchxxxxxx(config-if)#macro description dup
switchxxxxxx(config-if)#macro description duplex
switchxxxxxx(config-if)#end
switchxxxxxx#show parser macro description
Global Macro(s):
60
78-21075-01 Command Line Interface Reference Guide

Advertisement

Table of Contents
loading

Table of Contents