The ac protect link-switch packet-loss command configures the packet loss rate start and difference thresholds for an active/standby link switchover.
The undo ac protect link-switch packet-loss command restores the default packet loss rate start and difference thresholds for an active/standby link switchover.
By default, the packet loss rate start and difference thresholds for an active/standby link switchover are 20% and 15%, respectively.
ac protect link-switch packet-loss { gap-threshold gap-threshold | start-threshold start-threshold }
undo ac protect link-switch packet-loss { gap-threshold | start-threshold }
Parameter |
Description |
Value |
---|---|---|
gap-threshold gap-threshold |
Specifies the packet loss rate difference threshold for an active/standby link switchover. |
The value is an integer that ranges from 5 to 60, in percentage. |
start-threshold start-threshold |
Specifies the packet loss rate start threshold for an active/standby link switchover. |
The value is an integer that ranges from 5 to 60, in percentage. |
Usage Scenario
When the active/standby link switchover mode is set to the network stabilization mode, ACs check whether the network stabilization of active and standby links meets the condition for triggering an active/standby link switchover. If so, service traffic is switched to the link with higher network stabilization. If not, the switchover is not performed.
In N+1 backup scenarios, the network stabilization of the link between an AP and the current AC is determined by the Echo packet loss rate, and that of the link between the AP and another AC is determined by the Primary Discovery packet loss rate. The conditions for triggering an active/standby switchover are the same as those for dual-link cold backup and hot standby scenarios.
Prerequisites
The ac protect link-switch mode network-stabilization command has been run to set the active/standby link switchover mode to the network stabilization mode.