< Home

display snmp-agent trap feature-name dldp all

Function

The display snmp-agent trap feature-name dldp all command displays all trap information about the DLDP module.

Format

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

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

Prerequisites

SNMP has been enabled. See snmp-agent.

Example

# Display all trap information about the dldp module.

<HUAWEI>display snmp-agent trap feature-name dldp all
------------------------------------------------------------------------------  
Feature name: DLDP                                                              
Trap number : 4                                                                 
------------------------------------------------------------------------------  
Trap name                       Default switch status   Current switch status   
hwDldpUnidirectionalLink        on                      on                      
hwDldpLinkResume                on                      on                      
hwDldpLoopDetect                on                      on                      
hwDldpLoopResume                on                      on 
Table 1 Description of the display snmp-agent trap feature-name dldp all command output

Item

Description

Feature name

Name of the module that the trap message belongs

Trap number

Number of trap messages

Trap name

Alarm name:
  • hwDldpLinkResume: a unidirectional link clear alarm

  • hwdldploopdetect: A loopback alarm is generated.

  • hwdldploopresume: A loopback alarm is cleared.

  • hwDldpUnidirectionalLink: a unidirectional link alarm

Default switch status

Status of the trap function by default:
  • on: The trap function is enabled.
  • off: The trap function is disabled.

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 >