Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
mac address-table static
Use the mac address-table static global configuration command to add static addresses to the MAC
address table. Use the no form of this command to remove static entries from the MAC address table.
Beginning with Cisco IOS Release 12.1(11)EA1, the mac address-table static command replaces the
Note
mac-address-table static command (with the hyphen).
Syntax Description
mac-addr
vlan vlan-id
interface interface-id
Defaults
None configured.
Command Modes
Global configuration
Command History
Release
12.0(5.2)WC(1)
12.1(6)EA2
12.1(11)EA1
Usage Guidelines
Follow these guidelines when using this feature:
A static unicast MAC address can be assigned to one interface.
A static multicast MAC address can be assigned to one interface.
OL-10102-01
mac address-table static mac-addr vlan vlan-id interface interface-id
no mac address-table static mac-addr vlan vlan-id [interface interface-id]
Destination MAC address (unicast or multicast) to add to the address table.
Packets with this destination address received in the specified VLAN are
forwarded to the specified interface.
Specify the VLAN for which the packet with the specified MAC address is
received. The range is 1 to 4094.
Interface to which the received packet is forwarded. Valid interfaces include
physical ports and port channels.
Modification
This command was introduced.
The interface keyword and parameters were changed.
The mac-address-table static command was replaced by the mac
address-table static command.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
mac address-table static
2-193