PurposeCommand or Action
notification change history-size 100
2147483647 seconds; the default is 1
second.
• (Optional) history-size value—Specifies
the maximum number of entries in the
MAC notification history table. The range
is 0 to 500; the default is 1.
Enters interface configuration mode, and
specifies the Layer 2 interface on which to
interface interface-id
Example:
Step 7
enable the SNMP MAC address notification
trap.
Device(config)# interface
gigabitethernet1/0/2
Enables the MAC address change notification
trap on the interface.
snmp trap mac-notification change {added
| removed}
Step 8
Example:
• Enables the trap when a MAC address is
added on this interface.
Device(config-if)# snmp trap
mac-notification change added
• Enables the trap when a MAC address is
removed from this interface.
Returns to privileged EXEC mode.end
Example:
Step 9
Device(config)# end
Verifies your entries.show running-config
Example:
Step 10
Device# show running-config
(Optional) Saves your entries in the
configuration file.
copy running-config startup-config
Example:
Step 11
Device# copy running-config
startup-config
Configuring MAC Address Move Notification Traps
When you configure MAC-move notification, an SNMP notification is generated and sent to the network
management system whenever a MAC address moves from one port to another within the same VLAN.
Follow these steps to configure the device to send MAC address-move notification traps to an NMS host:
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
29
Administering the Device
Configuring MAC Address Move Notification Traps