static-mac-address
Configures a static MAC address and assigns the address to the premium queue.
Syntax
static-mac-address
ethernet-mac-address
[
lag lag-id
|
ethernet
unit/slot/port
[
to
unit/slot/port
] ...
]
[
priority
number
]static-mac-address
ethernet-mac-address
[
lag lag-id
|
ethernet
unit/slot/port
[
to
unit/slot/port
] ...
]
[
priority
number
]static-mac-address
ethernet-mac-address
dropno static-mac-address
ethernet-mac-address
dropCommand Default
By default, all MAC addresses are in the best-effort queue.
Parameters
Modes
VLAN configuration mode
Usage Guidelines
The
no form of the command clears the static MAC address configuration.
Examples
The following example configures a static MAC address on a range of Ethernet interfaces with priority 7.
device# configure terminal device(config)# vlan 2 device(config-vlan-2)# static-mac-address 0000.0063.67ff ethernet 1/1/1 to 1/1/6 priority 7
History