snmp-agent trap enable pim

Use snmp-agent trap enable pim to enable SNMP notifications for PIM.

Use undo snmp-agent trap enable pim to disable SNMP notifications for PIM.

Syntax

snmp-agent trap enable pim [ candidate-bsr-win-election | elected-bsr-lost-election | neighbor-loss ] *

undo snmp-agent trap enable pim [ candidate-bsr-win-election | elected-bsr-lost-election | neighbor-loss ] *

Default

SNMP notifications for PIM are enabled.

Views

System view

Predefined user roles

network-admin

Parameters

candidate-bsr-win-election: Specifies notifications about winning the BSR election.

elected-bsr-lost-election: Specifies notifications about losing the BSR election.

neighbor-loss: Specifies notifications about losing neighbors.

Usage guidelines

If you do not specify an optional keyword, this command enables or disables PIM to generate SNMP notifications.

To report critical PIM events to an NMS, enable SNMP notifications for PIM. For PIM event notifications to be sent correctly, you must also configure SNMP as described in Network Management and Monitoring Configuration Guide.

Examples

# Disable SNMP notifications for PIM.

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