The display snmp-agent trap feature-name dldp all command displays all trap information about the DLDP module.
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.
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.
# 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
Item |
Description |
---|---|
Feature name |
Name of the module that the trap message belongs |
Trap number |
Number of trap messages |
Trap name |
Alarm name:
|
Default switch status |
Status of the trap function by default:
|
Current switch status |
Current status of the trap function:
|