snmp-server enable traps mac-notification

Enables the MAC-notification trap whenever a MAC address event is generated on a device or an interface.
Syntax
snmp-server enable traps mac-notification
no snmp-server enable traps mac-notification
Command Default

MAC-notification traps are disabled on the device.

Modes

Global configuration

Interface configuration

Usage Guidelines

The no form of this command disables SNMP traps for MAC-notification events. The SNMP MAC-notification trap functionality allows an SNMPv3 trap to be sent to the SNMP manager when MAC addresses are added or deleted in the device.

Examples

The following example enables SNMP traps on the device for MAC-notification globally:

device# configure terminal
device(config)# snmp-server enable traps mac-notification

The following example disables SNMP traps on the device for MAC-notification globally:

device# configure terminal
device(config)# no snmp-server enable traps mac-notification 
History
Release version Command history
08.0.10 This command was introduced.