< Home

display snmp-agent trap feature-name lldptrap all

Function

The display snmp-agent trap feature-name lldptrap all command displays whether the switch is enabled to send traps of LLDP feature to the NMS.

Format

display snmp-agent trap feature-name lldptrap all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Before running the display snmp-agent trap feature-name lldptrap all command, run the snmp-agent command to enable the SNMP Agent function.

Example

# Display whether the switch is enabled to send traps of LLDP feature to the NMS.

<HUAWEI> display snmp-agent trap feature-name lldptrap all
------------------------------------------------------------------------------  
Feature name: LLDPTRAP                                                          
Trap number : 5                                                                 
------------------------------------------------------------------------------  
Trap name                       Default switch status   Current switch status   
lldpRemTablesChange             on                      on                      
hwLldpEnabled                   on                      on                      
hwLldpDisabled                  on                      on                      
hwLldpLocManIPAddrChange        on                      on 
hwLldpRateExcessive             on                      on 
Table 1 Description of the display snmp-agent trap feature-name lldptrap all command output

Item

Description

Feature name

Name of the feature that generates traps.

Trap number

Number of traps generated by LLDP feature.

Trap name

Name of the trap. The LLDP feature supports the following traps:

  • lldpRemTablesChange: Sends a trap when LLDP neighbor information changes.
  • hwLldpEnabled: Sends a Huawei proprietary trap when the LLDP function is enabled globally.
  • hwLldpDisabled: Sends a Huawei proprietary trap when the LLDP function is disabled globally.
  • hwLldpLocManIPAddrChange: Sends a Huawei proprietary trap when the LLDP management address of the device changes.
  • hwLldpRateExcessive: Sends a Huawei proprietary trap when the rate of LLDPDUs received by an interface exceeds the trap threshold.

Default switch status

Default status of a trap:
  • on: The switch is enabled to send this trap to the NMS.
  • off: The switch is disabled to send this trap to the NMS.

Current switch status

Current status of a trap:
  • on: The switch is enabled to send this trap to the NMS.
  • off: The switch is disabled to send this trap to the NMS.

This status can be configured using the snmp-agent trap enable feature-name lldptrap command.

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