![Cisco Sx350 Скачать руководство пользователя страница 808](http://html.mh-extra.com/html/cisco/sx350/sx350_cli-manual_2609320808.webp)
Macro Commands
807
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
38
•
Apply a macro to an interface without displaying the actions being
performed
•
Apply a macro to the interface while displaying the actions being
performed
Syntax
macro {apply | trace}
macro-name
[
parameter-name1 value
] [
parameter-name2
value
]
[
parameter-name3 value
]
Parameters
•
apply—Apply a macro to the specific interface.
•
trace—Apply and trace a macro to the specific interface.
•
macro-name
—Name of the macro.
•
parameter-name
value
—For each parameter defined in the macro, specify
its name and value. You can enter up to three parameter-value pairs.
Parameter keyword matching is case sensitive. All matching occurrences of
the parameter name in the macro are replaced with the corresponding
value.
Default Configuration
The command has no default setting.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
The macro apply command hides the commands of the macro from the user while
it is being run. The macro trace command displays the commands along with any
errors which are generated by them as they are executed. This is used to debug
the macro and find syntax or configuration errors.
When you run a macro, if a line in it fails because of a syntax or configuration error,
the macro continues to apply the remaining commands to the interface.
If you apply a macro that contains parameters in its commands, the command fails
if you do not provide the values for the parameters. You can use the macro apply
macro-name
with a '?' to display the help string for the macro keywords (if you
have defined these with the #macro keywords preprocessor command).
Содержание 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 ...