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.
enable
Step 1
Example:
• Enter your password if prompted.
Device>
enable
Enters 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
Verifies your entries.
show running-config
Example:
Step 5
Device#
show running-config
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Step 6
Device#
copy running-config startup-config
Configuring MAC Address Change Notification Traps
Follow these steps to configure the switch to send MAC address change notification traps to an NMS host:
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
28
Administering the Device
Configuring MAC Address Change Notification Traps