< Home

gap-threshold (upgrade-compatible command)

Function

The gap-threshold command sets the load difference threshold for load balancing based on the number of users in a static load balancing group.

The undo gap-threshold command restores the default load difference threshold for load balancing based on the number of users in a static load balancing group.

By default, the load difference threshold of a static load balancing group is 20%.

Format

gap-threshold gap-threshold-value

undo gap-threshold

Parameters

Parameter

Description

Value

gap-threshold gap-threshold-value

Specifies the load difference threshold for load balancing based on the number of users in a static load balancing group.

The value is an integer that ranges from 1 to 100. It indicates the threshold of the load difference among radios in a load balancing group, in percentage. The load difference refers to the difference between the number of users on radios.

Views

Static load balancing group view

Default Level

2: Configuration level

Usage Guidelines

After the load difference threshold for load balancing based on the number of users is configured using the gap-threshold command, an AP implements load balancing based on the difference between the number of users on different radios. The load balancing algorithm is as follows:

The AC calculates the load percentage of each radio in a load balancing group using the formula: Load percentage of a radio = (Number of associated users on the radio/Maximum number of users allowed on the radio) x 100%. The AC compares load percentages of all radios in the load balancing group and obtains the smallest load percentage value. When a user requests to associate with an AP radio, the AC calculates the difference between the radio's load percentage and the smallest load percentage value and compares the load difference with the threshold. If the difference is smaller than the threshold, the AC allows the user to associate with the radio. If not, the AC rejects the association request of the user. If users continue to send association requests to the AP and the maximum number of times the AP rejects users' association requests for a static load balancing group, the AP allows user access.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >