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 SPBM notifications if you execute the command without any keywords.

For SPBM notifications to be sent correctly, you must also configure SNMP on the device. For more information about SNMP configuration, see the network management and monitoring configuration guide for the device.

Examples

# Disable SNMP notifications for SPBM.

<Sysname> system-view
[Sysname] undo snmp-agent trap enable spbm