Administrator Guide

Layer 2 Switching Commands 297
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 interface 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 mac-addr vlan vlan-id interface interface-id
no mac address-table static mac-addr vlan vlan-id interface-id]
mac-address
A valid MAC address.
vlan-id
Valid VLAN ID (1-4093).
interface-id
The interface to which the received packet is forwarded.
Ethernet interface identifiers and port channel identifiers are valid for this
command.
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.