PurposeCommand or Action
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]
Example:
Step 3
The range is 10 to 1000000 seconds. The default
is 300. You can also enter 0, which disables
Device(config)# mac address-table
aging-time 500 vlan 2
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.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:
Procedure
PurposeCommand 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
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
27
Administering the Device
Configuring MAC Address Change Notification Traps