2-415
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
mac-address-table aging-time
mac-address-table aging-time
To configure the aging time for the entries in the Layer 2 table, use the mac-address-table aging-time
command. To reset the seconds value to the default setting, use the no form of this command.
mac-address-table aging-time seconds [vlan vlan_id]
no mac-address-table aging-time seconds [vlan vlan_id]
Syntax Description
Defaults Aging time is set to 300 seconds.
Command Modes Global configuration mode
Command History
Usage Guidelines If you do not enter a VLAN, the change is applied to all routed-port VLANs.
Enter 0 seconds to disable aging.
Examples This example shows how to configure the aging time to 400 seconds:
Switch(config)# mac-address-table aging-time 400
Switch(config)#
This example shows how to disable aging:
Switch(config)# mac-address-table aging-time 0
Switch(config)
Related Commands
seconds Aging time in seconds; valid values are 0 and from 10 to 1000000 seconds.
vlan vlan_id (Optional) Single VLAN number or a range of VLANs; valid values are from 1
to 4094.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.1(12c)EW Support for extended addressing was added.
Command Description
show mac-address-table aging-time Displays MAC address table aging information.