Specifications

2-338
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
mac-address-table static
mac-address-tabl e static
To configure the static MAC addresses for a VLAN interface or drop unicast traffic for a MAC address
for a VLAN interface, use the mac-address-table static command. To remove the static MAC address
configurations, use the no form of this com mand.
mac-address-table static mac-addr {vlan vlan-id} {interface type | drop}
no mac-address-table static mac-addr {vlan vlan-id } {interface type} {dro p}
Syntax Description
Defaults T his command has no default settings.
Command Modes Global c onfiguratio n mode
Usage Guidelines W hen a static MAC address is installed, it is associated with a port.
The output interface specified must be a Layer 2 interface and not an SVI.
If you do not enter a protocol type, an entry is automatically cr eated for each of the four protocol types.
Entering the no form of this command does not remove the syste m MAC addresses.
When removing a MAC address, enteri ng interface int is optional. For unicast entries, the entry is
removed automatically. For multicast entries, if you do not specify an interface, the entire entry is
removed. You can specify the selected ports to be removed by specifying the interface.
Examples This example shows how to add the static entries to the MAC address table:
Switch(config)# mac-address-table static 0050.3e8d.6400 vlan 100 interface fastethernet5/7
Switch(config)#
Related Commands
mac-addr MAC address; optional when using t he no form of this command.
vlan vlan-id VLAN and valid VLAN number; valid values are from 1 to 4094.
interface type Interface type and number; valid options are FastEthernet and GigabitEthernet.
drop Drops all traffic received from and going to the configured MAC address in the
specified VLAN.
Command Description
show mac-address-table static D isplays the static MAC address table entries only.