Macro Keywords - Cisco Catalyst 4500 Series Configuration Manual

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

#macro keywords

#macro keywords
To specify the help string for the macro keywords, use the #macro keywords command.
Syntax Description
keyword 1
keyword 2
keyword 3
Command Modes
Global configuration mode
Command History
Release
12.2(18)EW
Usage Guidelines
If you do not specify the mandatory keywords for a macro, the macro is to be considered invalid and fails
when you attempt to apply it. By entering the #macro keywords command, you will receive a message
indicating what you need to include to make the syntax valid.
Examples
The following 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
<cr>
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
2-2
#macro keywords [keyword1] [keyword2] [keyword3]
(Optional) Specifies a keyword that is needed while applying a macro to an
interface.
(Optional) Specifies a keyword that is needed while applying a macro to an
interface.
(Optional) Specifies a keyword that is needed while applying a macro to an
interface.
Modification
This command was introduced on the Catalyst 4500 series switch.
Keyword to replace with a value e.g $VLAN, $MAX
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
<< It is shown as help
OL-30934-01

Advertisement

Table of Contents
loading

Table of Contents