Purpose
Command or Action
Device#
show running-config
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Step 5
Device#
copy running-config startup-config
Configuring Unicast MAC Address Filtering
Follow these steps to configure the device to drop a source or destination unicast static address:
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
Purpose
Command or Action
Enables privileged EXEC mode.
enable
Step 1
Example:
• Enter your password if prompted.
Device>
enable
Enters global configuration mode.
configure terminal
Example:
Step 2
Device#
configure terminal
Enables unicast MAC address filtering and configure the
device to drop a packet with the specified source or
destination unicast static address.
mac address-table static mac-addr vlan vlan-id drop
Example:
Device(config)#
mac address-table static
c2f3.220a.12f4 vlan 4 drop
Step 3
•
mac-addr—
Specifies a source or destination unicast
MAC address (48-bit). Packets with this MAC address
are dropped.
•
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:
Step 4
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
36
Administering the Device
Configuring Unicast MAC Address Filtering