The sta-load-balance dynamic sta-number gap-threshold command sets the load difference threshold for dynamic load balancing based on the number of users.
The undo sta-load-balance dynamic sta-number gap-threshold command restores the default load difference threshold for dynamic load balancing based on the number of users.
By default, the load difference threshold of a dynamic load balancing group is specified based on the number of users, and the default value is 3.
sta-load-balance dynamic sta-number gap-threshold { percentage percentage-value | number number-value }
undo sta-load-balance dynamic sta-number gap-threshold
Parameter |
Description |
Value |
---|---|---|
percentage percentage-value |
Specifies the load difference threshold for dynamic load balancing based on the percentage of users. |
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 percentages of users on radios. |
number number-value |
Specifies the load difference threshold for dynamic load balancing based on the number of users. |
The value is an integer that ranges from 1 to 20. It indicates the threshold of the load difference among radios in a load balancing group. The load difference refers to the difference between the numbers of users on radios. |
Usage Scenario
When a user requests to connect to an AP, the AP will count the total number of access users on all radios. If the total number of access users does not exceed the start threshold configured using the sta-load-balance dynamic sta-number start-threshold command, the AP does not implement dynamic load balancing. The AP implements dynamic load balancing only when the total number of access users on all radios exceeds the start threshold.
If the AP version is V200R010C00 or later, the new load balancing algorithm is used after the STA access to determine whether to direct a STA to a new AP.
One of the conditions for directing a STA to a new AP is that the radio of the target load is lower than that of the current access radio. The radio load is identified by the number or percentage (Number of users associated with the current radio/Maximum number of access users supported by the radio x 100%) of access users. If the load difference between the target radio and current radio exceeds the specified threshold, the condition is met.
The start threshold and load difference threshold for dynamic load balancing are used to adjust the sensitivity for triggering load balancing, and the default values are recommended. If the start and load difference thresholds are set low, load balancing becomes far easier to be triggered. As a result, STAs are frequently switched between APs, affecting user experience. If the start and load difference thresholds are set high, the load balancing mechanism may become invalid.
Precautions
If you configure the load difference threshold based on both the number of users and the percentage of users, only the latest configuration takes effect.
# Set the load difference threshold for dynamic load balancing based on the number of users to 25% in RRM profile default.
<HUAWEI> system-view [HUAWEI] wlan [HUAWEI-wlan-view] rrm-profile name default [HUAWEI-wlan-rrm-prof-default] sta-load-balance dynamic sta-number gap-threshold percentage 25