< Home

display snmp-agent trap feature-name erps all

Function

The display snmp-agent trap feature-name erps all command displays trap functions of the Ethernet Ring Protection Switching (ERPS) module.

Format

display snmp-agent trap feature-name erps all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. It uses a central computer (a network management station) that runs network management software to manage network elements. The management agent on the network element automatically reports traps to the network management station so that the network administrator can immediately take measures to resolve the problem.

The display snmp-agent trap feature-name erps all command displays trap functions of the ERPS module.

Example

# Display trap functions of the ERPS module.

<HUAWEI> display snmp-agent trap feature-name erps all
------------------------------------------------------------------------------
Feature name: ERPS                          
Trap number : 2         
------------------------------------------------------------------------------
Trap name                       Default switch status   Current switch status 
hwErpsFwStateForwarding         on                      on                  
hwErpsFwStateDiscarding         on                      on   
Table 1 Description of the display snmp-agent trap feature-name erps all command output

Item

Description

Feature name

Name of the module to which a trap message belongs.

Trap number

Number of trap messages.

Trap name

Name of a trap of the ERPS module:

  • hwErpsFwStateForwarding: An ERPS ring port entered the Forwarding state.

  • hwErpsFwStateDiscarding: An ERPS ring port entered the Discarding state.

Default switch status

Status of the default trap function:

  • on: The trap function is enabled.
  • off: The trap function is disabled.

Current switch status

Status of the current trap function:

  • on: The trap function is enabled.
  • off: The trap function is disabled.

To specify the parameter, run the snmp-agent trap enable feature-name erps command.

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