< Home

display snmp-agent trap feature-name efm all

Function

The display snmp-agent trap feature-name efm all command displays the status of all traps of the EFM module.

Format

display snmp-agent trap feature-name efm 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. 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 efm all command displays the following information:
  • Trap names supported by the EFM module. The trap names are the same as the trap names specified by the snmp-agent trap enable feature-name efm trap-name trap-name command. Each trap name corresponds to a network element abnormality.

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

Prerequisites

SNMP has been enabled. See snmp-agent.

Example

# Display the status of all traps of the EFM module.

<HUAWEI> display snmp-agent trap feature-name efm all
------------------------------------------------------------------------------
Feature name: EFM
Trap number : 5
------------------------------------------------------------------------------
Trap name                       Default switch status   Current switch status
threshold                       off                     off
nonthreshold                    off                     off
dyinggasp                       off                     off
nonthredholdrecovery            off                     off
loopbackfailed                  off                     off
Table 1 Description of the display snmp-agent trap feature-name efm all command output

Item

Description

Feature name

Name of the module that the trap belongs to.

Trap number

Number of traps.

Trap name

Trap name. Traps of the EFM module include:

  • nonthreshold: trap sent when a non-threshold crossing event occurs.
  • threshold: trap sent when a threshold crossing event occurs.
  • dyinggasp: trap of dying gasp.
  • nonthredholdrecovery: trap sent when a non-threshold fault is rectified.
  • loopbackfailed: trap sent when the loopback failed.

Default switch status

Default status of the trap function:
  • on: indicates that the trap function is enabled by default.
  • off: indicates that the trap function is disabled by default.

Current switch status

Status of the trap function:

  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >