snmp-agent trap enable spbm
Use snmp-agent trap enable spbm to enable SNMP notifications for SPBM.
Use undo snmp-agent trap enable spbm to disable SNMP notifications for SPBM.
Syntax
snmp-agent trap enable spbm [ b-mac-conflict | spsource-conflict ] *
undo snmp-agent trap enable spbm [ b-mac-conflict | spsource-conflict ] *
Default
SNMP notifications for SPBM are enabled.
Views
System view
Predefined user roles
network-admin
Parameters
b-mac-conflict: Specifies the B-MAC conflict notification. This notification is generated when a remote B-MAC conflicts with a local B-MAC.
spsource-conflict: Specifies the SPSource ID conflict notification. This notification is generated when a remote SPSource ID conflict with the local SPSource ID.
Usage guidelines
The command enables both B-MAC conflict and SPSource ID conflict notifications if you execute the command without any keywords.
To send SPBM notifications to an NMS, you must also configure SNMP as described in Network Management and Monitoring Configuration Guide.
Examples
# Disable SNMP notifications for SPBM.
<Sysname> system-view [Sysname] undo snmp-agent trap enable spbm