C H A P T E R 2 Cisco Ios Commands For The Catalyst 4500 Series Switches; Macro Keywords - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

#macro keywords

#macro keywords
To specify the help string for 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
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 #macro keywords, 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>
Related Commands
macro apply cisco-desktop
macro apply cisco-phone
macro apply cisco-router
macro apply cisco-switch
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
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
Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches
<< It is shown as help
78-16201-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents