6. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Step 1
Device> enable
Enters the 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
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:
Step 4
Device(config)# end
Verifies your entries.show running-config
Example:
Step 5
Device# show running-config
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Step 6
Device# copy running-config startup-config
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
39
Administering the Device
Configuring Unicast MAC Address Filtering