Address Table Commands
OL-32830-01 Command Line Interface Reference Guide 166
5
Example 2 - The following example adds a deleted-on-reset static MAC address:
switchxxxxxx(config)#
mac address-table static
00:3f:bd:45:5a:b2 vlan 1
interface gi11 delete-on-reset
Example 3 - The following example adds a deleted-on-timeout static MAC
address:
switchxxxxxx(config)#
mac address-table static
00:3f:bd:45:5a:b2 vlan 1
interface gi11 delete-on-timeout
Example 4 - The following example adds a secure MAC address:
switchxxxxxx(config)#
mac address-table static
00:3f:bd:45:5a:b2 vlan 1
interface gi11 secure
5.20 clear mac address-table
To remove learned or secure entries from the forwarding database (FDB), use the
clear mac address-table Privileged EXEC mode command.
Syntax
clear mac address-table
dynamic interface interface-id
clear mac address-table
secure interface interface-id
Parameters
• dynamic interface
interface-id
—Delete all dynamic (learned) addresses on
the specified interface.The interface ID can be one of the following types:
Ethernet port or port-channel. If interface ID is not supplied, all dynamic
addresses are deleted.
• secure interface
interface-id
—Delete all the secure addresses learned on
the specific interface. A secure address on a MAC address learned on
ports on which port security is defined.