< Home

snmp-agent trap enable feature-name lacp

Function

The snmp-agent trap enable feature-name lacp command enables the trap function for the LACP module.

The undo snmp-agent trap enable feature-name lacp command disables the trap function for the LACP module.

By default, the trap function is disabled for the LACP module.

Format

snmp-agent trap enable feature-name lacp [ trap-name { hwlacpnegotiatefailed | hwlacpnegotiateresume | hwlacppartiallinkloss | hwlacppartiallinklossresume | hwlacppartnerexpiredloss | hwlacptotallinkloss | hwlacptotallinklossresume } ]

undo snmp-agent trap enable feature-name lacp [ trap-name { hwlacpnegotiatefailed | hwlacpnegotiateresume | hwlacppartiallinkloss | hwlacppartiallinklossresume | hwlacppartnerexpiredloss | hwlacptotallinkloss | hwlacptotallinklossresume } ]

Parameters

Parameter Description Value
trap-name Enables the traps of LACP events of specified types. -
hwlacpnegotiatefailed Enables the device to send trap when the link negotiation of the LACP module fails. -
hwlacpnegotiateresume Enables the device to send a trap when the link negotiation of the LACP module is restored. -
hwlacppartiallinkloss Enables the device to send trap when the link bandwidth of the LACP module is partially lost. -
hwlacppartiallinklossresume Enables the device to send a trap when the link bandwidth of the LACP module is partially restored. -
hwLacpPartnerExpiredLoss Enables the device to send a trap when the local end received a timeout packet from the remote end. -
hwlacptotallinkloss Enables the device to send a trap when the link bandwidth of the LACP module is totally lost. -
hwlacptotallinklossresume Enables the device to send a trap when the link bandwidth of the LACP module is totally restored. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

No parameter is available to enable all LACP traps. To enable the trap function of one or more events, specify type-name.

Example

# Enable the device to send traps when the link negotiation of the LACP module fails.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name lacp trap-name hwlacpnegotiatefailed
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >