Administering the Device
Step 7
Step 8
Step 9
Step 10
Step 11
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:
Command or Action
notification change history-size 100
interface interface-id
Example:
Device(config)# interface
gigabitethernet1/0/2
snmp trap mac-notification change {added
| removed}
Example:
Device(config-if)# snmp trap
mac-notification change added
end
Example:
Device(config)# end
show running-config
Example:
Device# show running-config
copy running-config startup-config
Example:
Device# copy running-config
startup-config
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
Configuring MAC Address Move Notification Traps
Purpose
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
enable the SNMP MAC address notification
trap.
Enables the MAC address change notification
trap on the interface.
• Enables the trap when a MAC address is
added on this interface.
• Enables the trap when a MAC address is
removed from this interface.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the
configuration file.
29