The display snmp-agent trap feature-name lacp all command displays all trap messages of the LACP module.
The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. 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 lacp all command displays whether all trap functions of the LACP module are enabled.
# Display all trap messages of the LACP module.
<HUAWEI> display snmp-agent trap feature-name lacp all
------------------------------------------------------------------------------
Feature name: LACP
Trap number : 7
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwLacpNegotiateFailed off on
hwLacpTotalLinkLoss off on
hwLacpPartialLinkLoss off on
hwLacpNegotiateResume off on
hwLacpTotalLinkLossResume off on
hwLacpPartialLinkLossResume off on
hwLacpPartnerExpiredLoss off on
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 LACP module:
|
Default switch status |
Whether the default trap function is enabled:
|
Current switch status |
Whether the current trap function is enabled:
To specify the parameter, run the snmp-agent trap enable feature-name lacp command. |