Enabling LACP Alarm Control
To prevent a device from frequently reporting LACP alarms, LACP alarm control can be enabled. After this function is enabled, the device reports alarms only when LACP negotiation fails due to specific reasons.
Context
- The device's physical link goes Down.
- LACP negotiation times out.
- LACP determines that packets are looped back.
- LACP determines that the system ID and port key in the LACPDU from the peer end on the local port are inconsistent with those from the peer end on the reference port.
Procedure
- Run system-view
The system view is displayed.
- Run lacp alarm-control link-failure
LACP alarm control is enabled.
A device that has reported an hwLacpNegotiateFailed, hwLacpPartialLinkLoss, hwLacpTotalLinkLoss, or Eth-Trunk linkdown alarm will report a clear alarm if the following conditions are met:
- The lacp alarm-control link-failure command is run.
- The trigger conditions for the reported alarm are beyond the four reasons for LACP negotiation Down.
Although a clear alarm is reported, the problem triggering the alarm persists.
After the lacp alarm-control link-failure command is run, the hwLacpNegotiateFailed, hwLacpPartialLinkLoss, hwLacpTotalLinkLoss, and Eth-Trunk linkdown alarms are not reported except for the preceding four reasons. Therefore, exercise caution when running this command.
- Run commit
The configuration is committed.