mac address-table static
This example shows how to add the static address c2f3.220a.12f4 to the MAC address table. When a
packet is received in VLAN 4 with this MAC address as its destination, the packet is forwarded to the
specified interface:
Switch(config)#
gigabitethernet0/1
You can verify your settings by entering the show mac address-table privileged EXEC command.
Related Commands
Command
clear mac address-table
mac address-table aging-time
show mac address-table
show mac address-table
Catalyst 2950 Desktop Switch Command Reference
2-90
mac address-table static c2f3.220a.12f4 vlan 4 interface
Description
Deletes entries from the MAC address table.
Sets the length of time that a dynamic entry remains in the MAC
address table after the entry is used or updated.
Displays the MAC address table.
static
Displays static MAC address table entries only.
Chapter 2
Cisco IOS Commands
78-11381-05