![Cisco Sx350 Скачать руководство пользователя страница 812](http://html.mh-extra.com/html/cisco/sx350/sx350_cli-manual_2609320812.webp)
Macro Commands
811
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
38
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
—Specify the parameter values required for 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
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.
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.
If you apply a macro that contains keywords in its commands, the command fails if
you do not specify the proper values for the keywords when you apply the macro.
You can use this command with a '?' to display the help string for the macro
keywords. You define the keywords in the help string using the preprocessor
command #macro keywords when you define a macro.
When you apply a macro in Global Configuration mode, the switch automatically
generates a global macro description command with the macro name. As a result,
the macro name is appended to the global macro history. Use
to display the global macro history.
Содержание Sx350
Страница 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Страница 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Страница 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Страница 503: ...IGMP Snooping Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 502 23 1000 239 255 0 7 ...
Страница 532: ...IP Routing Protocol Independent Commands 531 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 25 ...
Страница 736: ...IPv6 Prefix List Commands 735 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 31 ...
Страница 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...
Страница 1297: ...Virtual Local Area Network VLAN Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1296 67 4086 802 1x ...