14-WLAN Configuration Guide (Fat AP)

HomeSupportResource CenterConfigure & DeployConfiguration GuidesH3C MSR810 2600 3600 Routers Configuration Guides(V7)-R0707-6W30114-WLAN Configuration Guide (Fat AP)
10-WLAN load balancing configuration
Title Size Download
10-WLAN load balancing configuration 305.69 KB

Configuring WLAN load balancing

About WLAN load balancing

WLAN load balancing dynamically loads balance clients across radios to ensure wireless service quality and adequate bandwidth for clients in high-density WLANs.

 

 

NOTE:

The term "AP" in this document refers to MSR routers that offer WLAN services as fat APs. For more information, see "Compatibility of hardware and AP functionality."

Networking scheme

Load balancing can be performed only among radios that can be detected by the same client. As shown in Figure 1, radio 1 and radio 2 of the AP are enabled. Client 1, Client 2, and Client 3 are associated with radio 1, and Client 4 is associated with radio 2. Load balancing is enabled on the AP. Radio 1 has reached its maximum load. When Client 5 tries to associate with radio 1, the AP rejects the association request and directs Client 5 to radio 2.

Figure 1 Network diagram

Work mechanism

The device performs load balancing when the following conditions are met:

·     The load of a radio reaches the threshold.

·     The load gap between the radio and the radio that has the lightest load reaches the load gap threshold.

When the load and load gap for the radio reach their respective threshold, the radio rejects the association request of a client. If the number of times that the radio rejects the client reaches the specified maximum number of denials for association requests, the radio accepts the client's association request.

Load balancing modes

The device supports session-mode, traffic-mode, and bandwidth-mode load balancing. It performs load balancing of a specific mode when the following conditions are met:

·     The specified session/traffic/bandwidth threshold is reached.

·     The specified session/traffic/bandwidth gap threshold is reached.

Session-mode load balancing

As shown in Figure 2, radio 1 and radio 2 are enabled on the AP. Client 1 associates with radio 1, and Client 2 through Client 4 associate with radio 2. The session threshold and session gap threshold are set to 3 and 2, respectively. When Client 5 tries to associate with radio 2, radio 2 rejects the request because both the session threshold and session gap threshold are reached.

Figure 2 Session-mode load balancing

Traffic-mode load balancing

As shown in Figure 3, radio 1 and radio 2 of the AP are enabled. Client 1 associates with radio 1, and Client 2 associates with radio 2. When the traffic of radio 1 and the traffic gap between radio 1 and radio 2 reach their respective threshold, radio 1 rejects the association request from Client 3.

Figure 3 Traffic-mode load balancing

Bandwidth-mode load balancing

As shown in Figure 4, radio 1 and radio 2 of the AP are enabled. Client 1 associates with radio 1, and Client 2 associates with radio 2. When the bandwidth of radio 1 and the bandwidth gap between radio 1 and radio 2 reach their respective thresholds, radio 1 rejects the association request from Client 3.

Figure 4 Bandwidth-mode load balancing

Load balancing types

The device supports the following load balancing types:

·     Radio basedThe device determines the radios that will participate in load balancing based on the collected neighbor reports. The neighbor report of a radio records the MAC address and RSSI value of each client that is detected by the radio. The device determines that a radio will participate in load balancing when either of the following conditions is met:

?     A client requests to associate with the radio.

?     The radio detects that a client's RSSI has reached the RSSI threshold but the client does not request to associate with the radio.

·     Load balancing group based—You add the radios to a load balancing group. The device performs load balancing only on radios in this load balancing group.

Restrictions and guidelines: WLAN load balancing configuration

When a client requests to access the WLAN, the system performs load balancing only among radios that belong to the same AP and can be detected by the client.

WLAN load balancing tasks at a glance

To configure WLAN load balancing, perform the following tasks:

·     Enabling WLAN load balancing

·     Setting a load balancing mode

·     (Optional.) Configuring a load balancing group

Configure this feature to enable the fat AP to perform load balancing based on a load balancing group instead of radios.

·     (Optional.) Configuring load balancing parameters

·     (Optional.) Enabling SNMP notifications for WLAN load balancing

Prerequisites for WLAN load balancing

Before you configure load balancing, make sure the quick association function is disabled. For more information about quick association, see "Enabling quick association."

Enabling WLAN load balancing

1.     Enter system view.

system-view

2.     Enable WLAN load balancing.

wlan load-balance enable

By default, WLAN load balancing is disabled.

Setting a load balancing mode

1.     Enter system view.

system-view

2.     Choose one option as needed:

?     Set session-mode load balancing.

wlan load-balance mode session value [ gap gap-value ]

?     Set traffic-mode load balancing.

wlan load-balance mode traffic value [ gap gap-value ]

?     Set bandwidth-mode load balancing.

wlan load-balance mode bandwidth value [ gap gap-value ]

By default, session-mode load balancing is used.

Configuring a load balancing group

1.     Enter system view.

system-view

2.     Create a load balancing group and enter its view.

wlan load-balance group group-id

3.     Add a radio to the load balancing group.

radio radio-id

4.     (Optional.) Set a description for the load balancing group.

description text

By default, no description is set for the load balancing group.

Configuring load balancing parameters

About load balancing parameters

The following parameters affect load balancing calculation:

·     Load balancing RSSI threshold—If a radio detects that the RSSI of a client is lower than the specified RSSI threshold, the radio performs either of the following operations:

?     If multiple radios can detect the client, the radio participates in load balancing only when the client requests to associate with the radio.

?     If only this radio can detect the client, the radio decreases the maximum number of denials to 1 so that the client has more chances to associate with the radio.

·     Maximum number of denials for association requests—If the number of times that a radio rejects a client reaches the specified maximum number of denials for association requests, the radio accepts the association request of the client.

Procedure

1.     Enter system view.

system-view

2.     Set the RSSI threshold.

wlan load-balance rssi-threshold rssi-threshold

By default, the RSSI threshold is 25.

3.     Set the maximum number of denials for association requests.

wlan load-balance access-denial access-denial

By default, the maximum number of denials is 10 for association requests.

Enabling SNMP notifications for WLAN load balancing

About SNMP notifications for WLAN load balancing

To report critical WLAN load balancing events to an NMS, enable SNMP notifications for WLAN load balancing. For WLAN load balancing event notifications to be sent correctly, you must also configure SNMP as described in Network Management and Monitoring Configuration Guide.

Procedure

1.     Enter system view.

system-view

2.     Enable SNMP notifications for WLAN load balancing.

snmp-agent trap enable wlan load-balance

By default, SNMP notifications for WLAN load balancing are disabled.

Display and maintenance commands for WLAN load balancing

Execute display commands in any view.

 

Task

Command

Display load balancing group information.

display wlan load-balance group { group-id | all }

Display load balancing information for radios that are bound to a service template.

display wlan load-balance status service-template template-name { client mac-address | group group-id }

Radio-based WLAN load balancing configuration examples

Example: Configuring session-mode load balancing

Network configuration

As shown in Figure 5, radio 1 and radio 2 are enabled on the AP and the clients can discover the radios. Client 1 associates with radio 1, and Client 2 through Client 4 associate with radio 2.

Configure the AP to perform session-mode load balancing on radio 1 and radio 2 when the following conditions are met:

·     The number of sessions on one radio reaches 3.

·     The session gap between the radios reaches 2.

Figure 5 Network diagram

Procedure

# Create wireless service template 1, and set its SSID to session-balance.

<AP> system-view

[AP] wlan service-template 1

[AP-wlan-st-1] ssid session-balance

[AP-wlan-st-1] service-template enable

[AP-wlan-st-1] quit

# Bind wireless service template 1 to radio interface WLAN-Radio 0/0.

[AP] interface wlan-radio 0/0

[AP-WLAN-Radio0/0] undo shutdown

[AP-WLAN-Radio0/0] service-template 1

[AP-WLAN-Radio0/0] quit

# Bind wireless service template 1 to radio interface WLAN-Radio 0/1.

[AP] interface wlan-radio 0/1

[AP-WLAN-Radio0/1] undo shutdown

[AP-WLAN-Radio0/1] service-template 1

[AP-WLAN-Radio0/1] quit

# Set the load balancing mode to session mode, and set the session threshold and session gap threshold to 3 and 2, respectively.

[AP] wlan load-balance mode session 3 gap 2

# Enable WLAN load balancing.

[AP] wlan load-balance enable

Verifying the configuration

# Verify that the AP performs session-mode load balancing for radio 1 and radio 2 when the following conditions are met:

·     The number of sessions on radio 2 reaches 3.

·     The session gap between the radios reaches 2. (Details not shown.)

# Verify that radio 1 and radio 2 are load balanced by using the display wlan client command. (Details not shown.)

Example: Configuring traffic-mode load balancing

Network configuration

As shown in Figure 6, radio 1 and radio 2 are enabled on the AP and the mode of the radios is 802.11ac. The clients can discover the radios.

Configure the AP to perform traffic-mode load balancing on radio 1 and radio 2 when the following conditions are met:

·     The traffic of one radio reaches 100 Mbps (20% of the maximum bandwidth).

·     The traffic gap between the radios reaches 50 Mbps (10% of the maximum bandwidth).

Figure 6 Network diagram

Procedure

# Create wireless service template 1, and set its SSID to traffic-balance.

<AP> system-view

[AP] wlan service-template 1

[AP-wlan-st-1] ssid traffic-balance

[AP-wlan-st-1] service-template enable

[AP-wlan-st-1] quit

# Bind wireless service template 1 to radio interface WLAN-Radio 0/0.

[AP] interface wlan-radio 0/0

[AP-WLAN-Radio0/0] undo shutdown

[AP-WLAN-Radio0/0] service-template 1

[AP-WLAN-Radio0/0] quit

# Bind wireless service template 1 to radio interface WLAN-Radio 0/1.

[AP] interface wlan-radio 0/1

[AP-WLAN-Radio0/1] undo shutdown

[AP-WLAN-Radio0/1] service-template 1

[AP-WLAN-Radio0/1] quit

# Set the load balancing mode to traffic mode, and set the traffic threshold and traffic gap threshold to 20% and 10%, respectively.

[AP] wlan load-balance mode traffic 20 gap 10

# Enable WLAN load balancing.

[AP] wlan load-balance enable

Verifying the configuration

# Verify that the AP performs traffic-mode load balancing for radio 1 and radio 2 when the following conditions are met:

·     The traffic of radio 2 reaches 100 Mbps.

·     The traffic gap between the radios reaches 50 Mbps. (Details not shown.)

# Verify that radio 1 and radio 2 are load balanced by using the display wlan client command. (Details not shown.)

Example: Configuring bandwidth-mode load balancing

Network configuration

As shown in Figure 7, radio 1 and radio 2 are enabled on the AP and the clients can discover the radios.

Configure the AP to perform bandwidth-mode load balancing on radio 1 and radio 2 when the following conditions are met:

·     The bandwidth of one radio reaches 12 Mbps.

·     The bandwidth gap between the radios reaches 3 Mbps.

Figure 7 Network diagram

Procedure

# Create wireless service template 1, and set its SSID to bandwidth-balance.

<AP> system-view

[AP] wlan service-template 1

[AP-wlan-st-1] ssid bandwidth-balance

[AP-wlan-st-1] service-template enable

[AP-wlan-st-1] quit

# Bind wireless service template 1 to radio interface WLAN-Radio 0/0.

[AP] interface wlan-radio 0/0

[AP-WLAN-Radio0/0] undo shutdown

[AP-WLAN-Radio0/0] service-template 1

[AP-WLAN-Radio0/0] quit

# Bind wireless service template 1 to radio interface WLAN-Radio 0/1.

[AP] interface wlan-radio 0/1

[AP-WLAN-Radio0/1] undo shutdown

[AP-WLAN-Radio0/1] service-template 1

[AP-WLAN-Radio0/1] quit

# Set the load balancing mode to bandwidth mode, and set the bandwidth threshold and bandwidth gap threshold to 12 Mbps and 3 Mbps, respectively.

[AP] wlan load-balance mode bandwidth 12 gap 3

# Enable WLAN load balancing.

[AP] wlan load-balance enable

Verifying the configuration

# Verify that the AP performs bandwidth-mode load balancing for radio 1 and radio 2 when the following conditions are met:

·     The bandwidth of radio 2 reaches 12 Mbps.

·     The bandwidth gap between the radios reaches 3 Mbps. (Details not shown.)

# Verify that radio 1 and radio 2 are load balanced by using the display wlan client command. (Details not shown.)

Load balancing group-based WLAN load balancing configuration examples

Example: Configuring session-mode load balancing

Network configuration

As shown in Figure 8, radio 1 and radio 2 are enabled on the AP and the clients can discover the radios.

Configure the AP to perform session-mode load balancing on radio 1 and radio 2 when the following conditions are met:

·     The number of sessions on one radio reaches 3.

·     The session gap between the radios reaches 2.

Figure 8 Network diagram

Procedure

# Create wireless service template 1, and set its SSID to session-balance.

<AP> system-view

[AP] wlan service-template 1

[AP-wlan-st-1] ssid session-balance

[AP-wlan-st-1] service-template enable

[AP-wlan-st-1] quit

# Bind wireless service template 1 to radio interface WLAN-Radio 0/0.

[AP] interface wlan-radio 0/0

[AP-WLAN-Radio0/0] undo shutdown

[AP-WLAN-Radio0/0] service-template 1

[AP-WLAN-Radio0/0] quit

# Bind wireless service template 1 to radio interface WLAN-Radio 0/1.

[AP] interface wlan-radio 0/1

[AP-WLAN-Radio0/1] undo shutdown

[AP-WLAN-Radio0/1] service-template 1

[AP-WLAN-Radio0/1] quit

# Set the load balancing mode to session mode, and set the session threshold and session gap threshold to 3 and 2, respectively.

[AP] wlan load-balance mode session 3 gap 2

# Create load balancing group 1.

[AP] wlan load-balance group 1

# Add radio 1 and radio 2 to load balancing group 1.

[AP-wlan-lb-group-1] radio 1

[AP-wlan-lb-group-1] radio 2

# Enable WLAN load balancing.

[AP] wlan load-balance enable

Verifying the configuration

# Verify that the AP performs session-mode load balancing for radio 1 and radio 2 when the following conditions are met:

·     The number of sessions on either radio reaches 3.

·     The session gap between the radios reaches 2. (Details not shown.)

# Verify that radio 1 and radio 2 are load balanced by using the display wlan client command. (Details not shown.)

Example: Configuring traffic-mode load balancing

Network configuration

As shown in Figure 9, radio 1 and radio 2 are enabled on the AP, the mode of the radios is 802.11ac, and the clients can discover the radios.

Configure the AP to perform traffic-mode load balancing on radio 1 and radio 2 when the following conditions are met:

·     The traffic of one radio reaches 100 Mbps (20% of the maximum bandwidth).

·     The traffic gap between the radios reaches 50 Mbps (10% of the maximum bandwidth).

Figure 9 Network diagram

Procedure

# Create wireless service template 1, and set its SSID to traffic-balance.

<AP> system

[AP] wlan service-template 1

[AP-wlan-st-1] ssid traffic-balance

[AP-wlan-st-1] service-template enable

[AP-wlan-st-1] quit

# Bind wireless service template 1 to radio interface WLAN-Radio 0/0.

[AP] interface wlan-radio 0/0

[AP-WLAN-Radio0/0] undo shutdown

[AP-WLAN-Radio0/0] service-template 1

[AP-WLAN-Radio0/0] quit

# Bind wireless service template 1 to radio interface WLAN-Radio 0/1.

[AP] interface wlan-radio 0/1

[AP-WLAN-Radio0/1] undo shutdown

[AP-WLAN-Radio0/1] service-template 1

[AP-WLAN-Radio0/1] quit

# Set the load balancing mode to traffic mode, and set the traffic threshold and traffic gap threshold to 20% and 10%, respectively.

[AP] wlan load-balance mode traffic 20 gap 10

# Create load balancing group 1.

[AP] wlan load-balance group 1

# Add radio 1 and radio 2 to load balancing group 1.

[AP-wlan-lb-group-1] radio 1

[AP-wlan-lb-group-1] radio 2

[AP-wlan-lb-group-1] quit

# Enable WLAN load balancing.

[AP] wlan load-balance enable

Verifying the configuration

# Verify that the AP performs traffic-mode load balancing for radio 1 and radio 2 when the following conditions are met:

·     The traffic of either radio reaches 100 Mbps.

·     The traffic gap between the radios reaches 50 Mbps. (Details not shown.)

# Verify that radio 1 and radio 2 are load balanced by using the display wlan client command. (Details not shown.)

Example: Configuring bandwidth-mode load balancing

Network configuration

As shown in Figure 10, radio 1 and radio 2 are enabled on the AP and the clients can discover the radios.

Configure the AP to perform bandwidth-mode load balancing on radio 1 and radio 2 when the following conditions are met:

·     The bandwidth of one radio reaches 12 Mbps.

·     The bandwidth gap between the radios reaches 3 Mbps.

Figure 10 Network diagram

Procedure

# Create wireless service template 1, and set its SSID to bandwidth-balance.

<AP> system

[AP] wlan service-template 1

[AP-wlan-st-1] ssid bandwidth-balance

[AP-wlan-st-1] service-template enable

[AP-wlan-st-1] quit

# Bind wireless service template 1 to radio interface WLAN-Radio 0/0.

[AP] interface wlan-radio 0/0

[AP-WLAN-Radio0/0] undo shutdown

[AP-WLAN-Radio0/0] service-template 1

[AP-WLAN-Radio0/0] quit

# Bind wireless service template 1 to radio interface WLAN-Radio 0/1.

[AP] interface wlan-radio 0/1

[AP-WLAN-Radio0/1] undo shutdown

[AP-WLAN-Radio0/1] service-template 1

[AP-WLAN-Radio0/1] quit

# Set the load balancing mode to bandwidth mode, and set the bandwidth threshold and bandwidth gap threshold to 12 Mbps and 3 Mbps, respectively.

[AP] wlan load-balance mode bandwidth 12 gap 3

# Create load balancing group 1.

[AP] wlan load-balance group 1

# Add radio 1 and radio 2 to load balancing group 1.

[AP-wlan-lb-group-1] radio 1

[AP-wlan-lb-group-1] radio 2

[AP-wlan-lb-group-1] quit

# Enable WLAN load balancing.

[AP] wlan load-balance enable

Verifying the configuration

# Verify that the AP performs bandwidth-mode load balancing for radio 1 and radio 2 when the following conditions are met:

·     The bandwidth of either radio reaches 12 Mbps.

·     The bandwidth gap between the radios reaches 3 Mbps. (Details not shown.)

# Verify that radio 1 and radio 2 are load balanced by using the display wlan client command. (Details not shown.)