CLI Reference Guide-R07

Table Of Contents
Chapter 17
| Address Table Commands
– 437 –
clear mac-address-
table dynamic
This command removes any learned entries from the forwarding database as
related to the option specified.
Syntax
clear mac-address-table dynamic [address mac-address| interface interface |
vlan vlan-id | all]
address
mac-address - MAC hardware address
mask - Bits to match in the address.
interface
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-10/28)
port-channel channel-id (Range: 1-8)
vlan
vlan-id - VLAN ID (Range: 1-4094)
all - all learned entries
Default Setting
None
Command Mode
Privileged Exec
Command Usage
Even if a hash collision for a MAC address is resolved, entries in the MAC address
table are not removed until this command is issued to reset the table, or the
system is reset.
Example
Console#clear mac-address-table dynamic interface ethernet 1/5
Console#