< Home

display snmp-agent trap feature-name lacp all

Function

The display snmp-agent trap feature-name lacp all command displays all trap messages of the LACP module.

Format

display snmp-agent trap feature-name lacp all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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
Table 1 Description of the display snmp-agent trap feature-name lacp 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 LACP module:

  • hwLacpNegotiateFailed: Link negotiation of the LACP module fails.

  • hwLacpNegotiateResume: Link negotiation of the LACP module is restored.

  • hwLacpPartialLinkLoss: Some link bandwidth of the LACP module is lost.

  • hwLacpPartialLinkLossResume: Some link bandwidth of the LACP module is restored.

  • hwLacpTotalLinkLoss: All link bandwidth of the LACP module is lost.

  • hwLacpTotalLinkLossResume: All link bandwidth of the LACP module is restored.

  • hwLacpPartnerExpiredLoss: The local end receives a timeout packet from the remote end.

Default switch status

Whether the default trap function is enabled:

  • on: The trap function is enabled.
  • off: The trap function is disabled.

Current switch status

Whether the current trap function is enabled:

  • on: The trap function is enabled.
  • off: The trap function is disabled.

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

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