SUMMARY STEPS
1.
enable
2.
configure terminal
3.
mac address-table static mac-addr vlan vlan-id drop
4.
end
5.
show running-config
6.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Enables unicast MAC address filtering and configure the switch
to drop a packet with the specified source or destination unicast
static address.
mac address-table static mac-addr vlan vlan-id
drop
Example:
Switch(config)# mac address-table
Step 3
•
mac-addr—Specifies a source or destination unicast MAC
address (48-bit). Packets with this MAC address are
dropped.
static c2f3.220a.12f4 vlan 4 drop
•
vlan-id—Specifies the VLAN for which the packet with
the specified MAC address is received. Valid VLAN IDs
are 1 to 4094.
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
Verifies your entries.show running-config
Example:
Switch# show running-config
Step 5
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1552
How to Administer the Switch