< Home

display snmp-agent trap feature-name ldp all

Function

The display snmp-agent trap feature-name ldp all command displays all trap messages of 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

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. After that, the network administrator immediately takes measures to resolve the problem.

The display snmp-agent trap feature-name ldp all command displays whether all trap functions of the MPLS LDP module are enabled.

Example

# Display all trap messages of the MPLS LDP module.

<sysname>display snmp-agent trap feature-name ldp all
------------------------------------------------------------------------------
Feature name: ldp
Trap number : 3
------------------------------------------------------------------------------
Trap name                     Default switch status      Current switch status
Session-Retry                 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: indicates the event that an LDP session is re-established.
  • Session-Up-MIB: indicates the event that an LDP session goes Up through the MIB.
  • Session-Down-MIB: indicates the event that an LDP session goes Down through the MIB.

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

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

# Displays detailed information about all trap messages of the MPLS LDP module.

<sysname>display snmp-agent trap feature-name ldp all verbose
------------------------------------------------------------------------------
Feature name: ldp                           
Trap number : 3
------------------------------------------------------------------------------

Trap name                : Session-Retry
Default switch status    : off
Current switch status    : off
Trap Description         : 

Trap name                : Session-Up-MIB
Default switch status    : off
Current switch status    : off
Trap Description         : 

Trap name                : Session-Down-MIB
Default switch status    : off
Current switch status    : off
Trap Description         : The MIB information about LDP Session Down
Table 2 Description of the display snmp-agent trap feature-name ldp all verbose command output

Item

Description

Trap Description

Description text of the current trap message.

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