Macro Keywords - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference
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
Defaults
This command has no default settings.
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
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
<cr>
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
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
Support for 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-25342 -01

Advertisement

Table of Contents
loading

Table of Contents