Managing the MAC Address Table
Command or Action
Device# copy running-config startup-config
Managing the MAC Address Table
Changing the Address Aging Time
Follow these steps to configure the dynamic address table aging time:
SUMMARY STEPS
1. enable
2. configure terminal
3. mac address-table aging-time [0 | 10-1000000] [routed-mac | vlan vlan-id]
4. end
5. show running-config
6. copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Device> enable
Step 2
configure terminal
Example:
Device# configure terminal
Step 3
mac address-table aging-time [0 | 10-1000000]
[routed-mac | vlan vlan-id]
Example:
Device(config)# mac address-table
aging-time 500 vlan 2
Step 4
end
Example:
Device(config)# end
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
30
Purpose
Purpose
Enables privileged EXEC mode. Enter your password if
prompted.
Enters the global configuration mode.
Sets the length of time that a dynamic entry remains in the
MAC address table after the entry is used or updated.
The range is 10 to 1000000 seconds. The default is 300.
You can also enter 0, which disables aging. Static address
entries are never aged or removed from the table.
vlan-id Valid IDs are 1 to 4094.
Returns to privileged EXEC mode.
Administering the Device