< Home

ac protect link-switch packet-loss

Function

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.

Format

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 }

Parameters

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.

Views

AP system profile view

Default Level

2: Configuration level

Usage Guidelines

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 dual-link cold backup and hot standby scenarios, the network stabilization of active and standby links is determined based on the Echo packet loss rate. The active/standby link switchover is performed when the following conditions are met:
  1. APs collect statistics about the specified number of Echo packets forwarded through the link in use at each interval and find that the calculated packet loss rate is higher than the packet loss rate start threshold.
  2. The packet loss rate of the link in use is higher than that of the other link, and the difference between the two links' packet loss rates is higher than the packet loss rate difference threshold.

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.

Example

# Set the packet loss rate start threshold for an active/standby link switchover to 30%.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] ap-system-profile name abc
[HUAWEI-wlan-ap-system-prof-abc] ac protect link-switch packet-loss start-threshold 30
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >