Examples
In this example the MAC address 0100.5e02.0203 is forbidden on port 2/0/9
within VLAN 8.
console(config)#mac address-table multicast forbidden address vlan 8
0100.5e02.0203 add gigabitethernet 2/0/9
mac address-table static vlan
Use the mac address table static vlan command in Global Configuration
mode to add a static MAC-layer station source address to the bridge table. To
delete the MAC address, use the no form of the mac address table static
command.
Syntax
mac address-table static
{gigabitethernet|port-channel|tengigabitethernet}
no mac address table static
channel|tengigabitethernet}
•
mac-address —
xx:xx:xx:xx:xx:xx
•
vlan-id —
Valid VLAN ID (1-4093)
•
interface-id —
Default Configuration
No static addresses are defined. The default mode for an added address is
permanent.
Command Mode
Global Configuration mode
User Guidelines
The MAC address may be a unicast or multicast MAC address. Static MAC
addresses are never overridden by dynamically learned addresses. This has
implications for protocols like IGMP snooping, where statically configuring
the MAC address of a multicast router keeps IGMP snooping from
dynamically adding the multicast router to a different port.
mac-addr
mac-addr
interface-id]
A valid MAC address in the format xxxx.xxxx.xxxx or
The interface to which the received packet is forwarded.
vlan-id
vlan
interface
vlan-id
vlan
{gigabitethernet|port-
Address Table Commands
interface-id
283