-12
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter
snmp trap mac-notification change
snmp trap mac-notification change
To enable the Simple Network Management Protocol (SNMP) MAC address notification trap on a
specific Layer 2 interface, use the snmp trap mac-notification change command in interface
configuration mode. To return to the default setting, use the no form of this command.
snmp trap mac-notification change {added | removed}
no snmp trap mac-notification change {added | removed}
Syntax Description
Defaults By default, the traps for both address addition and address removal are disabled.
Command Modes Interface configuration
Command History
Usage Guidelines Even though you enable the notification trap for a specific interface by using the snmp trap
mac-notification command, the trap is generated only when you enable the snmp-server enable traps
mac-notification and the mac address-table notification global configuration commands.
You can verify your settings by entering the show mac address-table notification change interface
privileged EXEC command.
Examples This example shows how to enable the MAC notification trap when a MAC address is added to a port:
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# snmp trap mac-notification change added
added Enables the MAC notification trap whenever a MAC address is added on this
interface.
removed Enables the MAC notification trap whenever a MAC address is removed from this
interface.
Release Modification
12.2(52)EY This command was introduced.