Purpose
Command or Action
Example:
Switch>
enable
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 2
Adds a static address to the MAC address table.
mac address-table static mac-addr vlan
vlan-id interface interface-id
Step 3
•
mac-addr
—
Specifies the destination MAC unicast address to add
to the address table. Packets with this destination address received
in the specified VLAN are forwarded to the specified interface.
Example:
Switch(config)#
mac address-table
•
vlan-id
—
Specifies the VLAN for which the packet with the
specified MAC address is received. Valid VLAN IDs are 1 to 4094.
static c2f3.220a.12f4 vlan 4 interface
gigabitethernet 1/0/1
•
interface-id
—
Specifies the interface to which the received packet
is forwarded. Valid interfaces include physical ports or port
channels. For static multicast addresses, you can enter multiple
interface IDs. For static unicast addresses, you can enter only one
interface at a time, but you can enter the command multiple times
with the same MAC address and VLAN ID.
Returns to privileged EXEC mode. Alternatively, you can also press
Ctrl-Z
to exit global configuration mode.
end
Example:
Switch(config)#
end
Step 4
Verifies your entries.
show running-config
Example:
Switch#
show running-config
Step 5
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config
Step 6
startup-config
Configuring Unicast MAC Address Filtering
Follow these steps to configure the Switch to drop a source or destination unicast static address:
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1551
How to Administer the Switch
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......