Users Guide

Layer 2 Switching Commands 295
Commands in this Section
This section explains the following commands:
clear mac address-table
Use the clear mac address-table command to remove learned entries from the
forwarding database.
Syntax
clear mac address-table dynamic [address mac-addr | interface interface-id |
vlan vlan-id]
mac-addr
Delete the specified MAC address.
interface-id
Delete all dynamic MAC addresses on the specified Ethernet port
or port channel.
vlan-id
Delete all dynamic MAC addresses for the specified VLAN. The range
is 1 to 4093.
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec mode
clear mac address-table show mac address-table
multicast
show mac address-table
dynamic
mac address-table aging-
time
show mac address-table show mac address-table
interface
mac address-table multicast
forbidden address
show mac address-table
address
show mac address-table
static
mac address-table static show mac address-table
count
show mac address-table vlan
switchport port-security
(Interface Configuration)
show mac address-table
count
show port-security