Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
mac address-table aging-time
Use the mac address-table aging-time global configuration command to set the length of time that a
dynamic entry remains in the MAC address table after the entry is used or updated. Use the no form of
this command to return to the default setting. The aging time applies to all VLANs.
Beginning with Cisco IOS Release 12.1(11)EA1, the mac address-table aging-time command replaces
Note
the mac-address-table aging-time command (with the hyphen).
Syntax Description
0
10–100000
Defaults
The default is 300 seconds.
Command Modes
Global configuration
Command History
Release
12.0(5.2)WC(1)
12.1(6)EA2
12.1(11)EA1
Usage Guidelines
If hosts do not send continuously, increase the aging time to record the dynamic entries for a longer time.
This reduces the possibility of flooding when the hosts send again.
Examples
This example shows how to set the aging time to 200 seconds:
Switch(config)# mac address-table aging-time 200
This example shows how to disable aging in VLAN 1.
Switch(config)# mac address-table aging-time 0
This example shows how to set aging time to 450 seconds for all VLANs for which the user did not
specify aging time:
Switch(config)# mac address-table aging-time 450
OL-10102-01
mac address-table aging-time [0 | 10–1000000]
no mac address-table aging-time [0 | 10–1000000]
This value disables aging. Static address entries are never aged or removed from
the table.
Aging time in seconds. The range is 10 to 1000000 seconds.
Modification
This command was introduced.
The aging-time values were modified.
The mac-address-table aging-time command was replaced by the mac
address-table aging-time command.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
mac address-table aging-time
2-189