Specifications

2-2
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738-01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
#macro keywords
#macro keywords
To specify the help string for the macro key words, use the #macro keyword s command.
#macro keywords [keyword1] [keyword2] [keyword3]
Syntax Description
Defaults T his command has no default settings.
Command Modes Global c onfiguratio n mode
Usage Guidelines I f you do not specify th e mandator y keywords f or a macro, the macro i s to be conside red invalid a nd fails
when you attempt to apply it. By entering the #macr o keywords c ommand, you will receive a message
indicating what you need to include to make the syntax valid.
Examples This example shows how to specify the help string for keywords associated with a macro named test:
Switch(config)# macro name test
macro name test
Enter macro commands one per line. End with the character '@'.
#macro keywords $VLAN $MAX
swichport
@
Switch(config)# int gi1/1
Switch(config-if)# macro apply test ?
WORD Keyword to replace with a value e.g $VLAN, $MAX << It is shown as help
<cr>
keyword 1 (Optional) Specifies a keyword that is needed while applying a macro to an
interface.
keyword 2 (Optional) Specifies a keyword that is needed while applying a macro to an
interface.
keyword 3 (Optional) Specifies a keyword that is needed while applying a macro to an
interface.