![Cisco Small Business 300 1.1 Series Скачать руководство пользователя страница 52](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294052.webp)
Macro Commands
78-20269-01 Command Line Interface Reference Guide
53
3
WORD <1-32> Keyword to replace with value e.g. $DUPLEX, $SPEED
<cr>
Switch<config-if> #
macro apply
duplex $DUPLEX ?
WORD<1-32> First parameter value
<cr>
Switch<config-if> #
macro apply
duplex $DUPLEX full $SPEED ?
WORD<1-32> Second parameter value
Example 4 - The following example shows how to set the duplex mode of port gi1
to full and to set its speed to 100 Mb/s.
switch<config-if>#
interface
gi1
switch<config-if>#
macro apply
duplex $DUPLEX full $SPEED 100
3.2
macro apply
Use the macro apply/trace Interface Configuration command to either:
•
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
—(Optional) 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.
Содержание 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 ...