snmp-agent trap enable rrpp

Use snmp-agent trap enable rrpp to enable SNMP notifications for RRPP.

Use undo snmp-agent trap enable rrpp to disable SNMP notifications for RRPP.

Syntax

snmp-agent trap enable rrpp [ major-fault | multi-master | ring-fail | ring-recover ] *

undo snmp-agent trap enable rrpp [ major-fault | multi-master | ring-fail | ring-recover ] *

Default

SNMP notifications for RRPP are disabled.

Views

System view

Predefined user roles

network-admin

Parameters

major-fault: Generates notifications when an SRPT between the assistant edge node and edge node is disconnected.

multi-master: Generates notifications when multiple master nodes are configured for the RRPP ring.

ring-fail: Generates notifications when the state of the RRPP ring changes from Health to Disconnect.

ring-recover: Generates notifications when the state of the RRPP ring changes from Disconnect to Health.

Usage guidelines

To report critical RRPP events to an NMS, enable SNMP notifications for RRPP. For RRPP event 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.

If you do not specify any keyword, this command enables or disables all SNMP notifications for RRPP.

Examples

# Generate notifications when the state of the RRPP ring changes from Disconnect to Health.

<Sysname> system-view
[Sysname] snmp-agent trap enable rrpp ring-recover