< Home

display snmp-agent trap feature-name lbdt all

Function

The display snmp-agent trap feature-name lbdt all command displays all trap messages of the Loopback Detection module.

Format

display snmp-agent trap feature-name lbdt all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After the trap function of a specified feature is enabled, you can run the display snmp-agent trap feature-name lbdt all command to check the status of all traps of Loopback Detection. You can use the snmp-agent trap enable feature-name lbdt command to enable the trap function of Loopback Detection.

Prerequisites

SNMP has been enabled. See snmp-agent.

Example

# Display all trap messages of the Loopback Detection module.

<HUAWEI> display snmp-agent trap feature-name lbdt all
------------------------------------------------------------------------------  
Feature name: LBDT                                                              
Trap number : 2                                                                 
------------------------------------------------------------------------------  
Trap name                       Default switch status   Current switch status   
hwLdtPortLoopDetect             on                      on                      
hwLdtPortLoopDetectRecovery     on                      on
Table 1 Description of the display snmp-agent trap feature-name lbdt 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 Loopback Detection module:

  • hwLdtPortLoopDetect: A Huawei proprietary trap when the loopback on the interface of the Loopback Detection module.

  • hwLdtPortLoopDetectRecovery: A Huawei proprietary trap when the loopback recovery on the interface of the Loopback Detection module.

Default switch status

Status of the default trap function:

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

Current switch status

Status of the current trap function:

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

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

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