cisco — Configuring MAC Address Move Notification Traps

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: Administering the Device Configuring MAC Address Move Notification Traps Command or Action Purpose 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.

Step 7 interface interface-id Example: Device(config)# interface gigabitethernet1/0/2 Enters interface configuration mode, and specifies the Layer 2 interface on which to enable the SNMP MAC address notification trap. Step 8 snmp trap mac-notification change {added | removed} Example: Device(config-if)# snmp trap mac-notification change added 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. Step 9 end Example: Device(config)# end Returns to privileged EXEC mode. Step 10 show running-config Example:

Device# show running-config Verifies your entries. Step 11 copy running-config startup-config Example: Device# copy running-config startup-config (Optional) Saves your entries in the configuration file. Administering the Device 28