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.
Before running the display snmp-agent trap feature-name lldptrap all command, run the snmp-agent command to enable the SNMP Agent function.
# 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
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:
|
Default switch status |
Default status of a trap:
|
Current switch status |
Current status of a trap:
This status can be configured using the snmp-agent trap enable feature-name lldptrap command. |