< Home

display snmp-agent trap feature-name rrpp all

Function

The display snmp-agent trap feature-name rrpp all command displays all trap messages on the RRPP module.

Format

display snmp-agent trap feature-name rrpp all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The Simple Network Management Protocol (SNMP) is a network management standard widely used on the TCP/IP network. It uses a central computer (a network management station) that runs network management software to manage network elements (NEs). The SNMP agent reports trap messages to the network management station so that the network management station can obtain the network status in a timely manner, and the network administrator can take measures accordingly.

The display snmp-agent trap feature-name rrpp all command displays the following information:
  • Trap names supported by the RRPP module. The trap names are the same as those specified by the snmp-agent trap enable feature-name rrpp trap-name trap-name command. Each trap name indicates a network element exception.

  • Trap status of the RRPP module. You can check whether the trap is reported based on the trap name.

Prerequisites

SNMP has been enabled using the snmp-agent command.

Example

# Display all trap messages on the RRPP module.

<HUAWEI> display snmp-agent trap feature-name rrpp all
------------------------------------------------------------------------------  
Feature name: RRPP                                                              
Trap number : 3                                                                 
------------------------------------------------------------------------------  
Trap name                       Default switch status   Current switch status   
hwRrppRingRecover               on                      on                      
hwRrppRingFail                  on                      on                      
hwRrppMultiMaster               on                      on                      
Table 1 Description of the display snmp-agent trap feature-name rrpp all command output

Item

Description

Feature name

Name of the module that the trap messages belong to.

Trap number

Number of trap messages.

Trap name

Names of the trap messages on the RRPP module. The value can be:

  • hwRrppRingRecover: indicates that the RRPP ring is complete.

  • hwRrppRingFail: indicates that the RRPP ring is incomplete.

  • hwRrppMultiMaster: indicates that the RRPP ring has multiple master nodes.

Default switch status

Default status of the trap function:

  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.

Current switch status

Current status of the trap function:

  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.

To check the current status of the trap function, run the snmp-agent trap enable feature-name rrpp command.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >