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.
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 } ]
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. | - |