Clear the MAC Address Table
You may clear the MAC address table of dynamic entries:
Task
Clear a MAC address table of dynamic entries.
address
•
deletes the specified entry
all
•
deletes all dynamic entries
interface
•
deletes all entries for the specified
interface
vlan
•
deletes all entries for the specified VLAN
Set the Aging Time for Dynamic Entries
Learned MAC addresses are entered in the table as dynamic entries, which means that they are subject to
aging. For any dynamic entry, if no packet arrives on the switch with the MAC address as the source or
destination address within the timer period, the address is removed from the table. The default aging time
is 1800 seconds.
Task
Disable MAC address aging for all dynamic
entries.
Specify an aging time.
Set the Aging Time for Dynamic Entries on a VLAN
Set the Aging Time for Dynamic Entries on a VLAN is available only on platform:
Task
Specify an aging time.
FTOS Behavior: The time elapsed before the configured MAC aging time expires is not precisely as
configured. For example, the VLAN configuration
dynamic entries from the CAM after precisely 1 second. The actual minimum aging time for entries is
approximately 5 seconds because this is the default MAC address table scanning interval. Therefore,
MAC aging configurations of less than 5 seconds, as in this example, might be ineffective. Configuring
mac-address-table station-move time-interval 500
to the minimum, 500 milliseconds, increases the detection speed, which results in FTOS clearing
entries closer to the actual desired aging time.
560
|
Layer 2
Command Syntax
clear mac-address-table dynamic
all | interface | vlan
{
|
address
Command Syntax
mac-address-table aging-time 0
mac-address-table aging-time seconds
Range: 10-1000000
Command Syntax
mac-address-table aging-time seconds
Range: 1-1000000
mac-address-table aging-time 1
, solves this limitation. Reducing the scanning interval
Command Mode
EXEC Privilege
}
Command Mode
CONFIGURATION
CONFIGURATION
e
Command Mode
INTERFACE VLAN
, does not remove