Example for Configuring Dynamic Load Balancing
Service Requirements
Enterprise users can access the network through WLANs, which is the basic requirement of mobile office. The enterprises also need to prevent one AP radio from being heavily loaded. Furthermore, users' services are not affected during roaming in the coverage area.
As shown in Figure 4-62, before load balancing is configured, 30 users are connected to AP area_1, and 10 users are connected to AP area_2.
Networking Requirements
- AP area_1 and AP area_2 are managed by the same AC.
- STAs can detect SSIDs of both the APs.
Data Planning
Item |
Data |
---|---|
RRM profile |
|
2G radio profile |
|
5G radio profile |
|
Configuration Notes
Currently, the load balancing function is implemented in the STA access phase. In scenarios with complex user service types and unstable traffic, the expected load balancing effect cannot be achieved. In this case, you are not advised to enable load balancing based on the channel usage.
- No ACK mechanism is provided for multicast packet transmission on air interfaces. In addition, wireless links are unstable. To ensure stable transmission of multicast packets, they are usually sent at low rates. If a large number of such multicast packets are sent from the network side, the air interfaces may be congested. You are advised to configure multicast packet suppression to reduce impact of a large number of low-rate multicast packets on the wireless network. Exercise caution when configuring the rate limit; otherwise, the multicast services may be affected.
- In direct forwarding mode, you are advised to configure multicast packet suppression on switch interfaces connected to APs.
- In tunnel forwarding mode, you are advised to configure multicast packet suppression in traffic profiles of the AC.
Configure port isolation on the interfaces of the device directly connected to APs. If port isolation is not configured and direct forwarding is used, a large number of unnecessary broadcast packets may be generated in the VLAN, blocking the network and degrading user experience.
In tunnel forwarding mode, the management VLAN and service VLAN cannot be the same. Only packets from the management VLAN are transmitted between the AC and APs. Packets from the service VLAN are not allowed between the AC and APs.
Procedure
- Check the basic configuration of the WLAN.
Check Item
Command
Data
Check the AP group to which an AP belongs.
display ap all
AP group: ap-group1
Check all profiles referenced by the AP group.
display ap-group name ap-group1
VAP profile: wlan-net
Check all profiles referenced by the VAP profile.
display vap-profile name wlan-net
SSID profile: wlan-net
- Configure dynamic load balancing.
# Create the RRM profile wlan-net, and enable dynamic load balancing in the RRM profile wlan-net and set the start threshold for dynamic load balancing to 15 and load difference threshold to 25%.
<AC> system-view [AC] wlan [AC-wlan-view] rrm-profile name wlan-net [AC-wlan-rrm-prof-wlan-net] undo sta-load-balance dynamic disable [AC-wlan-rrm-prof-wlan-net] sta-load-balance mode sta-number [AC-wlan-rrm-prof-wlan-net] sta-load-balance dynamic sta-number start-threshold 15 [AC-wlan-rrm-prof-wlan-net] sta-load-balance dynamic sta-number gap-threshold percentage 25 [AC-wlan-rrm-prof-wlan-net] quit
# Create the 2G radio profile wlan-radio2g and bind the RRM profile wlan-net to the 2G radio profile.
[AC-wlan-view] radio-2g-profile name wlan-radio2g [AC-wlan-radio-2g-prof-wlan-radio2g] rrm-profile wlan-net [AC-wlan-radio-2g-prof-wlan-radio2g] quit
# Create the 5G radio profile wlan-radio5g and bind the RRM profile wlan-net to the 5G radio profile.
[AC-wlan-view] radio-5g-profile name wlan-radio5g [AC-wlan-radio-5g-prof-wlan-radio5g] rrm-profile wlan-net [AC-wlan-radio-5g-prof-wlan-radio5g] quit
# Bind the 5G radio profile wlan-radio5g and 2G radio profile wlan-radio2g to the AP group ap-group1.
[AC-wlan-view] ap-group name ap-group1 [AC-wlan-ap-group-ap-group1] radio-5g-profile wlan-radio5g radio 1 [AC-wlan-ap-group-ap-group1] radio-2g-profile wlan-radio2g radio 0 [AC-wlan-ap-group-ap-group1] quit
- Verify the configuration.
# Run the display rrm-profile name wlan-net command on the AC to check the dynamic load balancing configuration.
[AC-wlan-view] display rrm-profile name wlan-net ---------------------------------------------------------------------------- ... Station load balance : enable Station load balance mode : sta-number Station load balance sta-number start threshold : 15 Station load balance sta-number gap threshold(percentage) : 25 ... ----------------------------------------------------------------------------
# Run the display station neighbor sta-mac e019-1dc7-1e08 command on the AC to check the neighbor list of the specified STA.[AC-wlan-view] display station neighbor sta-mac e019-1dc7-1e08 -------------------------------------------------------------------------------------------------------------------------------- Device MAC Device ID Device Name Radio ID Probe info(RSSI/HH:MM:SS) 11k info[RCPI/RSNI/HH:MM:SS] -------------------------------------------------------------------------------------------------------------------------------- 1047-80ab-c9a0 5 AP5 1 -48/16:28:24 205/45/16:28:24 -------------------------------------------------------------------------------------------------------------------------------- Total neighbors: 1, total records: 1
# When a new STA requests to connect to AP area_1, the AC uses a dynamic load balancing algorithm to redirect the STA to the AP area_2 with a light load according to the information reported by APs.
Configuration Files
AC configuration file
# sysname AC # wlan rrm-profile name wlan-net sta-load-balance dynamic sta-number start-threshold 15 sta-load-balance dynamic sta-number gap-threshold percentage 25 radio-2g-profile name wlan-radio2g rrm-profile wlan-net radio-5g-profile name wlan-radio5g rrm-profile wlan-net ap-group name ap-group1 radio 0 radio-2g-profile wlan-radio2g vap-profile wlan-net wlan 1 radio 1 radio-5g-profile wlan-radio5g vap-profile wlan-net wlan 1 # return