Purpose
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
Purpose
Command or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Step 1
Device>
enable
Enters the global configuration mode.
configure terminal
Example:
Step 2
Device#
configure terminal
Sets the length of time that a dynamic entry remains in the
MAC address table after the entry is used or updated.
mac address-table aging-time
[
0
|
10-1000000
]
[
routed-mac
|
vlan vlan-id
]
Step 3
Example:
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.
Device(config)#
mac address-table
aging-time 500 vlan 2
vlan-id—
Valid IDs are 1 to 4094.
Returns to privileged EXEC mode.
end
Example:
Step 4
Device(config)#
end
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
30
Administering the Device
Managing the MAC Address Table