EasyManuals Logo

Cisco ME 3600X User Manual

Cisco ME 3600X
628 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #186 background imageLoading...
Page #186 background image
2-162
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
macro global
macro global
To apply a macro to a switch or to apply and trace a macro configuration on a switch, use the macro
global command in global configuration mode.
macro global {apply | trace} macro-namemacro-name [parameter value] [parameter value]
[parameter value]
Syntax Description
Defaults This command has no default setting.
Command Modes Global configuration
Command History
Usage Guidelines You can use the macro trace macro-name global configuration command to apply and to show the
macros running on a switch or to debug the macro to find any syntax or configuration errors.
If a command fails because of a syntax error or a configuration error when you apply a macro, the macro
continues to apply the remaining commands to the switch.
When creating a macro that requires the assignment of unique values, use the parameter value keywords
to designate values specific to the switch.
Keyword matching is case sensitive. All matching occurrences of the keyword are replaced with the
corresponding value. Any full match of a keyword, even if it is part of a larger string, is considered a
match and is replaced by the corresponding value.
Some macros might contain keywords that require a parameter value. You can use the macro global
apply macro-name ? command to display a list of any required values in the macro. If you apply a macro
without entering the keyword values, the commands are invalid and are not applied.
When you apply a macro to a switch, the macro name is automatically added to the switch. You can
display the applied commands and macro names by using the show running-configuration user EXEC
command.
You can delete a global macro-applied configuration on a switch only by entering the no version of each
command contained in the macro.
apply Applies a macro to the switch.
trace Applies a macro to a switch and to debug the macro.
macro-name Specifies the name of the macro.
parameter value (Optional) Specifies unique parameter values that are specific to the switch. You
can enter up to three keyword-value pairs. Parameter keyword matching is case
sensitive. All matching occurrences of the keyword are replaced with the
corresponding value.
Release Modification
12.2(52)EY This command was introduced.

Table of Contents

Other manuals for Cisco ME 3600X

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco ME 3600X and is the answer not in the manual?

Cisco ME 3600X Specifications

General IconGeneral
BrandCisco
ModelME 3600X
CategorySwitch
LanguageEnglish

Related product manuals