< Home

display snmp-agent trap feature-name ldp all

Function

The display snmp-agent trap feature-name ldp all command displays the status of all traps on the MPLS LDP module.

Format

display snmp-agent trap feature-name ldp all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Run the display snmp-agent trap feature-name ldp all command to view the status of all traps on the LDP module. The status can be configured using the snmp-agent trap enable feature-name ldp command.

Example

# Display all trap messages on the MPLS LDP module.

<HUAWEI> display snmp-agent trap feature-name ldp all
------------------------------------------------------------------------------
Feature name: ldp
Trap number : 4
------------------------------------------------------------------------------
Trap name                     Default switch status      Current switch status
Session-Retry                 off                        on
Session-PVL                   off                        on
Session-Up-MIB                off                        on
Session-Down-MIB              off                        on
Table 1 Description of the display snmp-agent trap feature-name ldp 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 message of the MPLS LDP module:

  • Session-Retry: An LDP session is reestablished.
  • Session-PVL: PathVectorLimitMismatch event of an LDP session, which indicates that the maximal vector value in the received message is different from the one in the local setting.
  • Session-Up-MIB: An LDP session goes Up through the MIB.
  • Session-Down-MIB: An LDP session goes Down through the MIB.

Default switch status

Default status of the trap function:
  • On: The trap function is enabled by default.
  • Off: The trap function is disabled by default.

Current switch status

Current status of the trap function:
  • On: The trap function is enabled.
  • Off: The trap function is disabled.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >