- Table of Contents
-
- 02-WLAN
- 00-Preface
- 01-AP management configuration
- 02-Radio management configuration
- 03-WLAN access configuration
- 04-WLAN security configuration
- 05-WLAN authentication configuration
- 06-WIPS configuration
- 07-WLAN QoS configuration
- 08-WLAN roaming configuration
- 09-WLAN load balancing configuration
- 10-WLAN radio resource measurement configuration
- 11-Channel scanning configuration
- 12-Band navigation configuration
- 13-WLAN high availability configuration
- 14-802.11r configuration
- 15-Wireless location configuration
- 16-Hotspot 2.0 configuration
- 17-WLAN RRM configuration
- 18-WT configuration
- 19-IoT AP configuration
- 20-CM tunnel configuration
- 21-Cloud connection configuration
- 22-WLAN IP snooping configuration
- 23-WLAN fast forwarding configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
07-WLAN QoS configuration | 260.07 KB |
Configuration restrictions and guidelines
Setting EDCA parameters for clients (AC-BE or AC-BK)
Setting EDCA parameters for clients (AC-VI or AC-VO)
Configuring a port to trust packet priority for priority mapping
Configuring bandwidth guaranteeing
Configuring bandwidth guaranteeing for an AP
Configuring bandwidth guaranteeing for an AP group
Configuring client rate limiting
Configuring service-template-based client rate limiting
Configuring radio-based client rate limiting
Configuring client-type-based client rate limiting
Displaying and maintaining WMM
WLAN QoS configuration examples
Basic WMM configuration example
SVP mapping configuration example
Traffic differentiation configuration example
Bandwidth guaranteeing configuration example
Client rate limiting configuration example
Configuring WLAN QoS
This chapter describes how to configure WLAN QoS.
Overview
An 802.11 network provides contention-based wireless access. To provide applications with QoS services, IEEE developed 802.11e for 802.11-based WLANs.
While IEEE 802.11e was being standardized, Wi-Fi Alliance defined the Wi-Fi Multimedia (WMM) standard to allow QoS provision devices of different vendors to interoperate. WMM enables a WLAN to provide QoS services, so that audio and video applications can have better performance in WLANs.
WMM protocol
The Distributed Coordination Function (DCF) in 802.11 requires APs and clients to use the carrier sense multiple access with collision avoidance (CSMA/CA) access mechanism. APs or clients listen to the channel before they hold the channel for data transmission. When the specified idle duration of the channel times out, APs or clients randomly select a backoff slot within the contention window to perform backoff. The device that finishes backoff first gets the channel. With 802.11, all devices have the same idle duration and contention window. Therefore, they are equal when contending for a channel.
To provide QoS services, WMM divides data traffic into four ACs that have different priorities. Traffic in an AC with a high priority has a better chance to use the channel.
Terminology
· Enhanced distributed channel access—EDCA is a channel contention mechanism defined by WMM to preferentially transmit packets with high priority and allocate more bandwidth to such packets.
· Access category—WMM defines four ACs: AC-VO for voice traffic, AC-VI for video traffic, AC-BE for best effort traffic, and AC-BK for background traffic. The priorities of the four ACs are in descending order.
· Connect Admission Control—CAC limits the number of clients that can use high-priority ACs (AC-VO and AC-VI) to make sure there is enough bandwidth for these clients.
· Unscheduled automatic power save delivery—U-APSD is a power saving method defined by WMM to save client power.
EDCA parameters
· Arbitration inter-frame spacing number—In 802.11-based WLAN, each client has the same idle duration (DIFS), but WMM defines an idle duration for each AC. The idle duration increases as the AIFSN increases.
· Exponent form of CWmin/Exponent form of CWmax—ECWmin/ECWmax determines the backoff slots, which increase as the two values increase.
· Transmission opportunity limit—TXOP limit specifies the maximum time that a client can hold the channel after a successful contention. A larger value represents a longer time. If the value is 0, a client can send only one packet each time it holds the channel.
CAC admission policies
CAC requires a client to obtain permission from an AP before it can use a high-priority AC for transmission. This guarantees bandwidth for the clients that have gained access. CAC controls real time traffic (AC-VO and AC-VI traffic) but not common data traffic (AC-BE and AC-BK traffic).
If a client wants to use a high-priority AC (AC-VO or AC-VI), it must send a request to the AP. The AP returns a positive or negative response based on either of the following admission control policies:
· Channel usage-based admission policy—The AP calculates the total time that the existing high-priority AC queues occupy the channel per unit time, and then calculates the time that the requesting traffic will occupy the channel per unit time. If the sum of the two values is smaller than or equal to the maximum hold time of the channel, the client can use the requested AC queue. If it is not, the request is rejected.
· Client-based admission policy—If the number of clients using high-priority AC queues is smaller than the maximum number of high-priority AC clients, the request is accepted. If it is not, the request is rejected. During calculation, a client is counted as one client if it is using both the AC-VO and AC-VI queues.
If the request is rejected, the AP assigns AC-BE to clients.
U-APSD power-save mechanism
U-APSD enables clients in sleep mode to wake up and receive the specified number of packets only after receiving a trigger packet. U-APSD improves the 802.11 APSD power saving mechanism.
U-APSD is automatically enabled after you enable WMM.
ACK policy
WMM defines the following ACK policies:
· Normal ACK—The recipient acknowledges each received unicast packet.
· No ACK—The recipient does not acknowledge received packets during wireless packet exchange. This policy improves the transmission efficiency in an environment where communication quality is strong and interference is weak. If communication quality deteriorates, this policy might increase the packet loss rate. For A-MPDU packets sent by 802.11n clients, the No ACK policy does not take effect.
SVP
SpectraLink Voice Priority (SVP) is developed by SpectraLink to provide QoS services for voice traffic.
Bandwidth guaranteeing
This feature provides the following functions:
· Ensures that traffic from all BSSs can pass through freely when the network is not congested.
· Ensures that each BSS can get the guaranteed bandwidth when the network is congested.
This feature improves bandwidth efficiency and maintains fair use of bandwidth among WLAN services. For example, you assign SSID1, SSID2, and SSID3 25%, 25%, and 50% of the total bandwidth. When the network is not congested, SSID1 can use all idle bandwidth in addition to its guaranteed bandwidth. When the network is congested, SSID1 is guaranteed with 25% of the bandwidth.
This feature applies only to AP-to-client traffic.
Client rate limiting
This feature prevents aggressive use of bandwidth by one client and ensures fair use of bandwidth among clients associated with the same AP.
You can configure either of the following modes for client rate limiting:
· Dynamic mode—Sets the total bandwidth shared by all clients. The rate limit for each client is the total rate divided by the number of online clients. For example, if the total rate is 10 Mbps and five clients are online, the rate limit for each client is 2 Mbps.
· Static mode—Sets the bandwidth that can be used by each client. When the rate limit multiplied by the number of associated clients exceeds the available bandwidth provided by the AP, the clients might not get the set bandwidth.
Protocols and standards
· 802.11e-2005, Amendment 8: Medium Access Control (MAC) Quality of Service Enhancements, IEEE Computer Society, 2005
· Wi-Fi, WMM Specification version 1.1, Wi-Fi Alliance, 2005
Configuration restrictions and guidelines
The priorities for the configuration in AP view, AP group view, and global configuration view are in descending order.
Configuring WMM
Enabling WMM
The 802.11n protocol requires all 802.11n clients to support WLAN QoS. For 802.11n clients to communicate with the associated AP, enable WMM when the radio operates in 802.11an or 802.11gn mode.
Enabling WMM for an AP
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enter AP view. |
wlan ap ap-name [ model model-name ] |
N/A |
3. Enter radio view. |
radio radio-id |
N/A |
4. Enable WMM. |
wmm enable |
By default, an AP uses the configuration in AP group view. |
Enabling WMM for an AP group
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enter AP group view. |
N/A |
|
3. Enter AP model view. |
N/A |
|
4. Enter radio view. |
radio radio-id |
N/A |
5. Enable WMM. |
wmm enable |
By default, WMM is enabled. |
Setting EDCA parameters
Setting EDCA parameters for an AP
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enter AP view. |
wlan ap ap-name [ model model-name ] |
N/A |
3. Enter radio view. |
radio radio-id |
N/A |
4. Set EDCA parameters. |
edca radio { ac-be | ac-bk | ac-vi | ac-vo } { ack-policy { noack | normalack } | aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value } * |
By default, an AP uses the configuration in AP group view. |
Setting EDCA parameters for an AP group
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enter AP group view. |
N/A |
|
3. Enter AP model view. |
N/A |
|
4. Enter radio view. |
radio radio-id |
N/A |
5. Set EDCA parameters. |
edca radio { ac-be | ac-bk | ac-vi | ac-vo } { ack-policy { noack | normalack } | aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value } * |
The default values for EDCA parameters are shown in Table 1. |
Table 1 Default EDCA parameter values
AC |
AIFSN |
ECWmin |
ECWmax |
TXOP Limit |
AC-BK |
7 |
4 |
10 |
0 |
AC-BE |
3 |
4 |
6 |
0 |
AC-VI |
1 |
3 |
4 |
94 |
AC-VO |
1 |
2 |
3 |
47 |
Setting EDCA parameters for clients (AC-BE or AC-BK)
Setting EDCA parameters for clients for an AP
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enter AP view. |
wlan ap ap-name [ model model-name ] |
N/A |
3. Enter radio view. |
radio radio-id |
N/A |
4. Set EDCA parameters of AC-BE or AC-BK queues for clients. |
edca client { ac-be | ac-bk } { aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value } * |
By default, an AP uses the configuration in AP group view. |
Setting EDCA parameters for clients for an AP group
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enter AP group view. |
N/A |
|
3. Enter AP model view. |
N/A |
|
4. Enter radio view. |
radio radio-id |
N/A |
5. Set EDCA parameters of AC-BE or AC-BK queues for clients. |
edca client { ac-be | ac-bk } { aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value } * |
The default values are shown in Table 2. |
Table 2 Default EDCA parameter values of AC-BE or AC-BK queues for clients
AC |
AIFSN |
ECWmin |
ECWmax |
TXOP Limit |
AC-BK |
7 |
4 |
10 |
0 |
AC-BE |
3 |
4 |
10 |
0 |
Setting EDCA parameters for clients (AC-VI or AC-VO)
Setting EDCA parameters for clients for an AP
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enter AP view. |
wlan ap ap-name [ model model-name ] |
N/A |
3. Enter radio view. |
radio radio-id |
N/A |
4. Set EDCA parameters of AC-VI or AC-VO queues for clients. |
edca client { ac-vi | ac-vo } { aifsn aifsn-value | cac { disable | enable } | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value } * |
By default, an AP uses the configuration in AP group view. |
5. (Optional.) Configure the CAC policy. |
cac policy { channelutilization [ channelutilization-value ] | client [ client-number ] } |
By default, an AP uses the configuration in AP group view. |
Setting EDCA parameters for clients for an AP group
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enter AP group view. |
N/A |
|
3. Enter AP model view. |
N/A |
|
4. Enter radio view. |
radio radio-id |
N/A |
5. Set EDCA parameters of AC-VI or AC-VO queues for clients. |
edca client { ac-vi | ac-vo } { aifsn aifsn-value | cac { disable | enable } | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value } * |
The default values are shown in Table 3. |
6. (Optional.) Configure the CAC policy. |
cac policy { channelutilization [ channelutilization-value ] | client [ client-number ] } |
By default, the client-based admission policy is used, and the maximum number of admitted clients is 20. |
Table 3 Default EDCA parameter values of AC-VI or AC-VO queues for clients
AC |
AIFSN |
ECWmin |
ECWmax |
TXOP Limit |
AC-VI |
2 |
3 |
4 |
94 |
AC-VO |
2 |
2 |
3 |
47 |
Configuring a port to trust packet priority for priority mapping
This feature takes effect only on uplink packets.
To configure a port to trust packet priority for priority mapping:
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enter service template view. |
N/A |
|
3. Configure the trusted packet priority type. |
By default, the port priority is trusted. |
|
4. Set the port priority. |
By default, the port priority is 0. |
Configuring SVP mapping
SVP mapping takes effect only on non-WMM clients.
This feature assigns packets that have the protocol ID 119 in the IP header to the AC-VI or AC-VO queue to provide SVP packets with the specified priority. SVP does not require random backoff for SVP packets. Therefore, you can set both ECWmin and ECWmax to 0 when there are only SVP packets in the AC-VI or AC-VO queue.
When SVP mapping is disabled, SVP packets are assigned to the AC-BE queue.
Configuring SVP mapping for an AP
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enter AP view. |
wlan ap ap-name [ model model-name ] |
N/A |
3. Enter radio view. |
radio radio-id |
N/A |
4. Configure SVP mapping. |
svp map-ac { ac-vi | ac-vo | disable } |
By default, an AP uses the configuration in AP group view. |
Configuring SVP mapping for an AP group
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enter AP group view. |
N/A |
|
3. Enter AP model view. |
N/A |
|
4. Enter radio view. |
radio radio-id |
N/A |
5. Configure SVP mapping. |
svp map-ac { ac-vi | ac-vo | disable } |
By default, SVP mapping is disabled. |
Configuring bandwidth guaranteeing
Configuring bandwidth guaranteeing for an AP
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Set the maximum bandwidth for the specified radio type. |
wlan max-bandwidth { dot11a | dot11ac | dot11an | dot11b | dot11g | dot11gac | dot11gn } bandwidth |
The following default settings apply: · 30000 Kbps for dot11a and dot11g. · 250000 Kbps for dot11an, dot11gn, and dot11gac. · 500000 Kbps for dot11ac. · 7000 Kbps for dot11b. |
3. Enter AP view. |
wlan ap ap-name [ model model-name ] |
N/A |
4. Enter radio view. |
radio radio-id |
N/A |
5. Configure bandwidth guaranteeing. |
bandwidth-guarantee { disable | enable } |
The following default settings apply: · If the service template setting in AP group view is used, an AP uses the configuration in AP group view. · If a service template is manually bound to a radio, bandwidth guaranteeing is disabled. |
6. Set a guaranteed bandwidth percentage for the specified service template. |
bandwidth-guarantee service-template service-template-name percent percent |
The following default settings apply: · If the service template setting in AP group view is used, an AP uses the configuration in AP group view. · If a service template is manually bound to a radio, no guaranteed bandwidth percentage is set for the service template. |
Configuring bandwidth guaranteeing for an AP group
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Set the maximum bandwidth for the specified radio type. |
wlan max-bandwidth { dot11a | dot11ac | dot11an | dot11b | dot11g | dot11gac | dot11gn } bandwidth |
The following default settings apply: · 30000 Kbps for dot11a and dot11g. · 250000 Kbps for dot11an, dot11gn, and dot11gac. · 500000 Kbps for dot11ac. · 7000 Kbps for dot11b. |
3. Enter AP group view. |
wlan ap-group group-name |
N/A |
4. Enter AP model view. |
ap-model ap-model |
N/A |
5. Enter radio view. |
radio radio-id |
N/A |
6. Configure bandwidth guaranteeing. |
bandwidth-guarantee { disable | enable } |
By default, bandwidth guaranteeing is disabled. |
7. Set a guaranteed bandwidth percentage for the specified service template. |
bandwidth-guarantee service-template service-template-name percent percent |
By default, no guaranteed bandwidth percentage is set for a service template. |
Configuring client rate limiting
By rate limit method, you can configure service-template-based, radio-based, or client-type-based client rate limiting. By rate limit mode, you can configure the dynamic or static mode for client rate limiting.
If more than one method and mode are configured, all settings take effect. The rate for a client will be limited to the minimum value among all the client rate-limiting settings.
Configuring service-template-based client rate limiting
This task takes effects on all clients associated with the same service template.
To configure service-template-based client rate limiting:
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enter service template view. |
wlan service-template service-template-name |
N/A |
3. Enable service-template-based client rate limiting. |
client-rate-limit enable |
By default, service-template-based client rate limiting is disabled. |
4. Configure service-template-based client rate limiting. |
client-rate-limit { inbound | outbound } mode { dynamic | static } cir cir |
By default, service-template-based client rate limiting is not configured. |
Configuring radio-based client rate limiting
This task takes effects on all clients associated with the same radio.
Configuring radio-based client rate limiting for an AP
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enter AP view. |
wlan ap ap-name [ model model-name ] |
N/A |
3. Enter radio view. |
radio radio-id |
N/A |
4. Enable or disable radio-based client rate limiting. |
client-rate-limit { disable | enable } |
By default, an AP uses the configuration in AP group view. |
5. Configure radio-based client rate limiting. |
client-rate-limit { inbound | outbound } mode { dynamic | static } cir cir |
By default, an AP uses the configuration in AP group view. |
Configuring radio-based client rate limiting for an AP group
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enter AP group view. |
wlan ap-group group-name |
N/A |
3. Enter AP model view. |
ap-model ap-model |
N/A |
4. Enter radio view. |
radio radio-id |
N/A |
5. Enable or disable radio-based client rate limiting. |
client-rate-limit { disable | enable } |
By default, radio-based client rate limiting is disabled. |
6. Configure radio-based client rate limiting. |
client-rate-limit { inbound | outbound } mode { dynamic | static } cir cir |
By default, radio-based client rate limiting is not configured. |
Configuring client-type-based client rate limiting
This task takes effects on all clients of the specified protocol.
To configure client-type-based client rate limiting:
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Configure client-type-based client rate limiting. |
wlan client-rate-limit { dot11a | dot11ac | dot11an | dot11b | dot11g | dot11gac | dot11gn } { inbound | outbound } cir cir [ cbs cbs ] |
By default, client-type-based client rate limiting is not configured. |
Displaying and maintaining WMM
Execute display commands in any view and reset commands in user view.
Task |
Command |
Display WMM statistics for radios. |
|
Display WMM statistics for clients. |
display wlan wmm client { all | ap ap-name | mac-address mac-address } |
Clear WMM statistics for radios. |
reset wlan wmm radio { all | ap ap-name } |
Clear WMM statistics for clients. |
reset wlan wmm client { all | ap ap-name | mac-address mac-address } |
WLAN QoS configuration examples
Basic WMM configuration example
Network requirements
As shown in Figure 2, enable WMM on the AC so that the AP and the client can prioritize the traffic.
Configuration procedure
# Create a service template named market, set the SSID to market, and enable the service template.
<AC> system-view
[AC] wlan service-template market
[AC-wlan-st-market] ssid market
[AC-wlan-st-market] service-template enable
[AC-wlan-st-market] quit
# Create a manual AP named ap1, and specify the AP model and serial ID.
[AC] wlan ap ap1 model WA4320i-ACN
[AC-wlan-ap-ap1] serial-id 210235A29G007C000020
# Enable WMM, bind service template market to radio 1, and enable radio 1.
[AC-wlan-ap-ap1] radio 1
[AC-wlan-ap-ap1-radio-1] wmm enable
[AC-wlan-ap-ap1-radio-1] service-template market
[AC-wlan-ap-ap1-radio-1] radio enable
[AC-wlan-ap-ap1-radio-1] quit
[AC-wlan-ap-ap1] quit
Verifying the configuration
# Display WMM statistics for radios.
[AC] display wlan wmm radio all
AP ID : 1 AP Name : ap1
Radio : 1
Client EDCA updates : 0
QoS mode : WMM
WMM status : Enabled
Radio max AIFSN : 15 Radio max ECWmin : 10
Radio max TXOPLimit : 32767 Radio max ECWmax : 10
CAC information
Clients accepted : 0
Voice : 0
Video : 0
Total request mediumtime(μs) : 0
Voice(μs) : 0
Video(μs) : 0
Calls rejected due to insufficient resources : 0
Calls rejected due to invalid parameters : 0
Calls rejected due to invalid mediumtime : 0
Calls rejected due to invalid delaybound : 0
Radio : 2
Client EDCA updates : 0
QoS mode : WMM
WMM status : Enabled
Radio max AIFSN : 15 Radio max ECWmin : 10
Radio max TXOPLimit : 32767 Radio max ECWmax : 10
CAC information
Clients accepted : 0
Voice : 0
Video : 0
Total request mediumtime(μs) : 0
Voice(μs) : 0
Video(μs) : 0
Calls rejected due to insufficient resources : 0
Calls rejected due to invalid parameters : 0
Calls rejected due to invalid mediumtime : 0
Calls rejected due to invalid delaybound : 0
CAC configuration example
Network requirements
As shown in Figure 3, configure CAC to allow a maximum of 10 clients to use the AC-VO and AC-VI queues.
Configuration procedure
1. Create a service template named market, set the SSID to market, and enable the service template.
<AC> system-view
[AC] wlan service-template market
[AC-wlan-st-market] ssid market
[AC-wlan-st-market] service-template enable
[AC-wlan-st-market] quit
2. Create a manual AP named ap1, and specify the AP model and serial ID.
[AC] wlan ap ap1 model WA4320i-ACN
[AC-wlan-ap-ap1] serial-id 210235A29G007C000020
3. Configure WMM:
# Bind service template market to radio 1.
[AC-wlan-ap-ap1] radio 1
[AC-wlan-ap-ap1-radio-1] service-template market
# Enable WMM for AC-VO and AC-VI queues, and configure a CAC policy to limit the number of clients to 10.
[AC-wlan-ap-ap1-radio-1] wmm enable
[AC-wlan-ap-ap1-radio-1] edca client ac-vo cac enable
[AC-wlan-ap-ap1-radio-1] edca client ac-vi cac enable
[AC-wlan-ap-ap1-radio-1] cac policy client 10
# Enable radio 1.
[AC-wlan-ap-ap1-radio-1] radio enable
Verifying the configuration
# Assume that a client requests to use a high-priority AC queue (AC-VO or AC-VI). Verify the following information:
· If the number of clients using high-priority AC queues is smaller than the maximum number of high-priority AC clients (10 in this example), the request is accepted.
· If the number of clients using high-priority AC queues is equal to the maximum number of high-priority AC clients (10 in this example), the request is rejected. The AP decreases the priority of packets from the client.
SVP mapping configuration example
Network requirements
As shown in Figure 4, configure SVP mapping on the AC to assign SVP packets to the AC-VO queue. Set ECWmin and ECWmax to 0 for the AC-VO queue of the AP.
Configuration procedure
1. Create a service template named market, set the SSID to market, and enable the service template.
<AC> system-view
[AC] wlan service-template market
[AC-wlan-st-market] ssid market
[AC-wlan-st-market] service-template enable
[AC-wlan-st-market] quit
2. Create a manual AP named ap1, and specify the AP model and serial ID.
[AC] wlan ap ap1 model WA4320i-ACN
[AC-wlan-ap-ap1] serial-id 210235A29G007C000020
3. Configure SVP mapping:
# Enable WMM.
[AC-wlan-ap-ap1] radio 1
[AC-wlan-ap-ap1-radio-1] wmm enable
# Assign SVP packets to the AC-VO queue, and set EDCA parameters of AC-VO queues for clients.
[AC-wlan-ap-ap1-radio-1] wmm svp map-ac ac-vo
[AC-wlan-ap-ap1-radio-1] edca client ac-vo ecw ecwmin 0 ecwmax 0
# Bind service template market to radio 1, and enable the radio.
[AC-wlan-ap-ap1-radio-1] service-template market
[AC-wlan-ap-ap1-radio-1] radio enable
Verifying the configuration
# Verify that the AC assigns SVP packets to the AC-VO queue if a non-WMM client comes online and sends SVP packets to the AC.
Traffic differentiation configuration example
Network requirements
As shown in Figure 5, configure priority mapping on the AC to add 802.11 packets from the client to the AC-VO queue.
Configuration procedure
# Create a service template named market, and set the SSID to market.
<AC> system-view
[AC] wlan service-template market
[AC-wlan-st-market] ssid market
# Configure priority mapping, and enable the service template.
[AC-wlan-st-market] qos priority 7
[AC-wlan-st-market] service-template enable
[AC-wlan-st-market] quit
# Create a manual AP named ap1, and specify the AP model and serial ID.
[AC] wlan ap ap1 model WA4320i-ACN
[AC-wlan-ap-ap1] serial-id 210235A29G007C000020
# Enable WMM.
[AC-wlan-ap-ap1] radio 1
[AC-wlan-ap-ap1-radio-1] wmm enable
# Bind service template market to radio 1, and enable radio 1.
[AC-wlan-ap-ap1-radio-1] service-template market
[AC-wlan-ap-ap1-radio-1] radio enable
[AC-wlan-ap-ap1-radio-1] quit
[AC-wlan-ap-ap1] quit
Verifying the configuration
# Verify that packets from the client have been added to the AC-VO queue.
[AC] display wlan statistics client
MAC address : 0015-005e-97cc
AP name : ap1
Radio ID : 1
SSID : market
BSSID : 5866-ba74-e570
RSSI : 27
Sent frames:
Back ground : 0/0 (frames/bytes)
Best effort : 0/0 (frames/bytes)
Video : 0/0 (frames/bytes)
Voice : 14/1092 (frames/bytes)
Received frames:
Back ground : 0/0 (frames/bytes)
Best effort : 66/8177 (frames/bytes)
Video : 0/0 (frames/bytes)
Voice : 0/0 (frames/bytes)
Discarded frames:
Back ground : 0/0 (frames/bytes)
Best effort : 0/0 (frames/bytes)
Video : 0/0 (frames/bytes)
Voice : 0/0 (frames/bytes)
Bandwidth guaranteeing configuration example
Network requirements
As shown in Figure 6, Clients 1, 2, and 3 access the network through SSIDs research, office, and entertain, respectively.
For the network to operate correctly, guarantee 20% of the bandwidth for SSID office, 80% for research, and none for entertain.
Configuration procedure
# Create a service template named office, set the SSID to office, and enable the service template.
<AC> system-view
[AC] wlan service-template office
[AC-wlan-st-office] ssid office
[AC-wlan-st-office] service-template enable
[AC-wlan-st-office] quit
# Create a service template named research, set the SSID to research, and enable the service template.
[AC] wlan service-template research
[AC-wlan-st-research] ssid research
[AC-wlan-st-research] service-template enable
[AC-wlan-st-research] quit
# Create a service template named entertain, set the SSID to entertain, and enable the service template.
[AC] wlan service-template entertain
[AC-wlan-st-entertain] ssid entertain
[AC-wlan-st-entertain] service-template enable
[AC-wlan-st-entertain] quit
# Set the maximum bandwidth to 10000 Kbps for the 802.11ac radio.
[AC] wlan max-bandwidth dot11ac 10000
# Create a manual AP named ap1, and specify the AP model and serial ID.
[AC] wlan ap ap1 model WA4320i-ACN
[AC-wlan-ap-ap1] serial-id 210235A1BSC123000050
# Set the radio type to dot11ac for radio 1, bind service templates office, research, and entertain to radio 1, and enable radio 1.
[AC-wlan-ap-ap1] radio 1
[AC-wlan-ap-ap1-radio-1] type dot11ac
[AC-wlan-ap-ap1-radio-1] service-template office
[AC-wlan-ap-ap1-radio-1] service-template research
[AC-wlan-ap-ap1-radio-1] service-template entertain
[AC-wlan-ap-ap1-radio-1] radio enable
# Enable bandwidth guaranteeing.
[AC-wlan-ap-ap1-radio-1] bandwidth-guarantee enable
# Set the guaranteed bandwidth percentage to 20% for service template office and 80% for service template research.
[AC-wlan-ap-ap1-radio-1] bandwidth-guarantee service-template office percent 20
[AC-wlan-ap-ap1-radio-1] bandwidth-guarantee service-template research percent 80
[AC-wlan-ap-ap1-radio-1] return
Verifying the configuration
# Verify that the rate of traffic from the AP to any client is not limited when the total traffic rate is lower than 10000 Kbps.
# Send traffic from the AP to Client 1 and Client 2 at a rate of over 2000 Kbps and over 8000 Kbps, respectively, to verify the following items:
· The AP sends traffic to Client 1 at 2000 Kbps.
· The AP sends traffic to client 2 at 8000 Kbps.
· The rate of traffic from the AP to Client 3 is limited.
Client rate limiting configuration example
Network requirements
As shown in Figure 7, the AC is in the same network as the AP. Perform the following tasks on the AC:
· Configure static mode client rate limiting to limit the rate of incoming client traffic.
· Configure dynamic mode client rate limiting to limit the rate of outgoing client traffic.
Configuration procedure
# Create a service template named service, and set its SSID to service.
<AC> system-view
[AC] wlan service-template service
[AC-wlan-st-service] ssid service
# Enable client rate limiting for service template service, and configure client rate limiting as follows:
· Limit the rate of incoming traffic to 8000 Kbps in static mode.
· Limit the rate of outgoing traffic to 8000 Kbps in dynamic mode.
[AC-wlan-st-service] client-rate-limit enable
[AC-wlan-st-service] client-rate-limit inbound mode static cir 8000
[AC-wlan-st-service] client-rate-limit outbound mode dynamic cir 8000
[AC-wlan-st-service] service-template enable
[AC-wlan-st-service] quit
# Create a manual AP named ap1, and specify the AP model and serial ID.
[AC] wlan ap ap1 model WA4320i-ACN
[AC-wlan-ap-ap1] serial-id 210235A1BSC123000050
# Bind service template service to radio 1, and enable radio 1.
[AC-wlan-ap-ap1] radio 1
[AC-wlan-ap-ap1-radio-1] service-template service
[AC-wlan-ap-ap1-radio-1] radio enable
[AC-wlan-ap-ap1-radio-1] return