CLI Reference Guide-R04

Table Of Contents
Chapter 17
| Address Table Commands
– 503 –
Example
Console(config)#mac-address-table static 00-e0-29-94-34-de interface ethernet
1/1 vlan 1 delete-on-reset
Console(config)#
clear mac-address-
table dynamic
This command removes any learned entries from the forwarding database.
Syntax
clear mac-address-table dynamic [[all] | [address mac-address [mask]] |
[interface interface] | [vlan vlan-id]]
all - all learned entries
address mac-address - MAC address.
mask - Bits to match in the address.
interface interface
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-28)
port-channel channel-id (Range: 1-26)
vlan vlan-id - VLAN ID (Range: 1-4094)
Default Setting
None
Command Mode
Privileged Exec
Example
Console#clear mac-address-table dynamic all
Console#