To set the aging time for dynamic entries, use the following commands:
Task
Disable MAC address aging for all dynamic
entries.
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
the minimum (500 milliseconds), increases the detection speed, which results in FTOS clearing entries
closer to the actual desired aging time.
Configure a Static MAC Address
A static entry is one that is not subject to aging. Static entries must be entered manually. To configure a
static MAC address, use the following command:
Task
Create a static MAC address entry in the MAC address table.
Display the MAC Address Table
To display the contents of the MAC address table, use the following command:
Task
Display the contents of the MAC address table.
•
address
displays the specified entry.
•
displays the configured aging-time.
aging-time
•
displays the number of dynamic and static entries
count
for all VLANs, and the total number of entries.
•
dynamic
displays only dynamic entries
•
displays only entries for the specified interface.
interface
•
displays only static entries.
static
•
displays only entries for the specified VLAN.
vlan
306
|
Layer 2
Command Syntax
mac-address-table aging-time 0
mac-address-table aging-time seconds
Range: 10-1000000
mac-address-table aging-time 1
, solves this limitation. Reducing the scanning interval to
Command Syntax
mac-address-table static
Command Syntax
show mac-address-table [address |
aging-time [vlan vlan-id]
dynamic
|
interface
Command Mode
CONFIGURATION
CONFIGURATION
, does not remove
Command Mode
CONFIGURATION
Command Mode
EXEC Privilege
|
|
count
|
static | vlan]