![Cisco Small Business 300 1.1 Series Скачать руководство пользователя страница 56](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294056.webp)
Macro Commands
78-20269-01 Command Line Interface Reference Guide
57
3
3.4
macro global
Use the macro global Global Configuration command to apply a macro to a switch
or to apply and trace a macro configuration on a switch.
Syntax
macro global {
apply | trace} macro-name [parameter-name1 {value}]
[parameter-name2 {value}] [parameter -name3 {value}
]
Parameters
•
apply—Apply a macro to the switch.
•
trace—Apply and trace a macro to the switch.
•
macro-name—Specify the name of the macro.
•
parameter-name
value
—(Optional) Specify unique parameter values that
are specific to the switch. You can enter up to three parameter-value pairs.
Parameter keyword matching is case sensitive. All matching occurrences of
the parameters are replaced with the corresponding value.
Default Configuration
The command has no default setting.
Command Mode
Global Configuration mode
User Guidelines
You can use the macro global trace macro-name Global Configuration mode
command to apply and show the macros running on the switch or to debug the
macro in order to locate 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.
Use the parameter-name, value keywords to designate values specific to the
switch when creating a macro that requires the assignment of unique value.
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 large string, is considered a match and replaced by the corresponding
value.
Содержание Small Business 300 1.1 Series
Страница 1: ...Cisco Small Business 300 1 1 Series Managed Switch Administration Guide CLI GUIDE ...
Страница 527: ...DHCP Relay Commands 78 20269 01 Command Line Interface Reference Guide 528 38 Servers 1 1 1 1 2 2 2 2 ...
Страница 705: ...Revision History 78 20269 01 Command Line Interface Reference Guide 936 4 ...