- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
04-WLAN QoS Configuration | 238.8 KB |
Table of Contents
Displaying and Maintaining WMM
WMM Configuration Examples (on ACs)
WMM Basic Configuration Example
CAC Service Configuration Example
SVP Service Configuration Example
Traffic Differentiation Test Configuration Example
WMM Configuration Examples (on FAT APs)
CAC Service Configuration Example
SVP Service Configuration Example
EDCA Parameter Configuration Failure
SVP or CAC Configuration Failure
l Support for some features varies by router model.
l Refer to the command manual of this module for command and parameter support, default values and value ranges of the MSR series routers.
l All the models of the MSR series routers are centralized devices.
l The MSR series routers can serve as APs only.
1 WLAN QoS Configuration
When configuring WMM, go to these sections for information you are interested in:
l Overview
l Displaying and Maintaining WMM
l WMM Configuration Examples (on ACs)
Overview
An 802.11 network offers contention-based wireless access. To provide applications with QoS services, IEEE developed 802.11e for the 802.11-based WLAN architecture.
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 makes a WLAN network capable of providing QoS services.
Terminology
1) WMM
WMM is a wireless QoS protocol designed to preferentially transmit packets with high priority, thus guaranteeing better QoS services for voice and video applications in a wireless network.
2) EDCA
Enhanced distributed channel access (EDCA) is a channel contention mechanism designed by WMM to preferentially transmit packets with high priority and allocate more bandwidth to such packets.
3) AC
Access category (AC), is used for channel contention. WMM defines four access categories; they are AC-VO (voice), AC-VI (video), AC-BE (best-effort), and AC-BK (background) in the descending order of priority. When contending for a channel, a high-priority AC preempts a low-priority AC.
4) CAC
Connection admission control (CAC) limits the number of clients that are using high-priority ACs (AC-VO and AC-VI) to guarantee sufficient bandwidth for existing high-priority traffic.
5) U-APSD
Unscheduled automatic power-save delivery (U-APSD) is a new power saving mechanism defined by WMM to enhance the power saving capability of clients.
6) SVP
SpectraLink voice priority (SVP) is a voice priority protocol designed by the Spectralink company to guarantee QoS for voice traffic.
WMM Protocol Overview
The distributed coordination function (DCF) in 802.11 stipulates that access points (APs) and clients 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. In WMM, this fair contention mechanism is changed.
EDCA parameters
WMM assigns data packets in a basic service set (BSS) to four ACs. By allowing a high-priority AC to have more channel contention opportunities than a low-priority AC, WMM offers different service levels to different ACs.
WMM define a set of EDCA parameters for each AC, covering the following:
l Arbitration inter-frame spacing number (AIFSN): Different from the 802.11 protocol where the idle duration (set using DIFS) is a constant value, WMM can define an idle duration per AC. The idle duration increases as the AIFSN value increases (see Figure 1-1 for the AIFS durations).
l Exponent form of CWmin (ECWmin) and exponent form of CWmax (ECWmax) determine the average backoff slots, which increases as the two values increase (see Figure 1-1 for the backoff slots).
l Transmission opportunity limit (TXOPLimit) indicates the maximum time for which a user can hold a channel after a successful contention. The greater the TXOPLimit is, the longer the user can hold the channel. The value 0 indicates that the user can send only one packet each time it holds the channel.
Figure 1-1 Per-AC channel contention parameters in WMM
CAC admission policies
CAC requires that a client obtain permission of the AP before it can use a high-priority AC for transmission, thus guaranteeing bandwidth to 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, it needs to send a request to the AP. The AP returns a positive or negative response based on either of the following admission control policy:
l Channel utilization-based admission policy: the AP calculates the total time that the existing high-priority ACs occupies the channel in one second, and then calculates the time that the requesting traffic will occupy the channel in one second. 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. Otherwise, the request is rejected.
l Users-based admission policy: if the number of clients using high-priority ACs plus the requesting clients is smaller than or equal to the maximum number of high-priority AC clients, the request is accepted. Otherwise, the request is rejected. During calculation, a client is counted once even if it is using both AC-VO and AC-VI.
U-APSD power-save mechanism
U-APSD improves the 802.11 APSD power saving mechanism. When associating clients with ACs, you can specify some ACs as trigger-enabled, some ACs as delivery-enabled, and the maximum number of data packets that can be delivered after receiving a trigger packet. Both the trigger attribute and the delivery attribute can be modified when flows are established using CAC. When a client sleeps, the delivery-enabled AC packets destined for the client are buffered. The client needs to send a trigger-enabled AC packet to get the buffered packets. After the AP receives the trigger packet, packets in the transmit queue are sent. The number of sent packets depends on the agreement made when the client was admitted. ACs without the delivery attribute store and transmit packets as defined in the 802.11 protocol.
SVP
SVP can assign packets with the protocol ID 119 in the IP header to a specific AC. SVP stipulates that random backoff is not performed for SVP packets. Therefore, you can set both ECWmin and ECWmax to 0 when there are only SVP packets in an AC.
ACK policy
WMM defines two ACK policies: Normal ACK and No ACK.
l When the no acknowledgement (No ACK) policy is used, the recipient does not acknowledge received packets during wireless packet exchange. This policy is suitable in the environment where communication quality is fine and interference is weak. While the No ACK policy helps improve transmission efficiency, it can cause increased packet loss when communication quality deteriorates. This is because when this policy is used, a sender does not retransmit packets that have not been received by the recipient.
l When the Normal ACK policy is used, the recipient acknowledges each received unicast packet.
Protocols and Standards
l 802.11e-2005, Amendment 8: Medium Access Control (MAC) Quality of Service Enhancements, IEEE Computer Society, 2005
l Wi-Fi, WMM Specification version 1.1, Wi-Fi Alliance, 2005
WMM Configuration
Configuration Prerequisites
To ensure that WMM can operate normally, disable Layer-2 fast forwarding with the undo l2fw fast-forwarding command.
Configuring WMM
Follow these steps to configure WMM:
To do… |
Use the command… |
Remarks |
|
Enter system view |
system-view |
— |
|
Enter radio policy view or radio view |
Create a radio policy and enter radio policy view (for AC devices) |
wlan radio-policy radio-policy-name |
— |
Enter radio view (for FAT AP devices) |
interface wlan-radio radio-number |
||
Enable WMM |
wmm enable |
Required Enabled by default. Note that: the 802.11n protocol stipulates that all 802.11n clients support WLAN QoS. Therefore, when the radio works in 802.11an or 802.11gn mode, you should enable WMM. Otherwise, the associated 802.11n clients may fail to communicate. |
|
Set the EDCA parameters of AC-VO or AC-VI for clients |
wmm edca client { ac-vo | ac-vi } { aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax -value | txoplimit txoplimit-value | cac } * |
Optional By default, a client uses the default EDCA parameters shown in Table 1-1. |
|
Set the EDCA parameters of AC-BE or AC-BK for clients |
wmm edca client { ac-be | ac-bk } { aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax -value | txoplimit txoplimit -value } * |
Optional By default, a client uses the default EDCA parameters shown in Table 1-1. |
|
Set the EDCA parameters and specify the ACK policy for the radio |
wmm edca radio { ac-vo | ac-vi | ac-be | ac-bk } { aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax -value | txoplimit txoplimit -value | noack } * |
Optional By default, an AP uses the default EDCA parameters shown in Table 1-2 and uses the Normal ACK policy. |
|
Set the CAC policy |
wmm cac policy { channelutilization [ channelutilization-value ] | users [ users-number ] } |
Optional By default, the users-based admission policy applies, with the maximum number of users being 20. |
|
Map SVP packets to a specified AC |
wmm svp map-ac { ac-vi | ac-vo | ac-be | ac-bk } |
Optional By default, the SVP packet mapping function is disabled. |
l If CAC is enabled for an AC, CAC is also enabled for the ACs with higher priority. For example, if you use the wmm edca client command to enable CAC for AC-VI, CAC is also enabled for AC-VO. However, enabling CAC for AC-VO does not enable CAC for AC-VI.
l You are recommended to adopt the default EDCA parameter settings for APs and clients (except the TXOPLimit parameter for devices using 802.11b radio cards) unless it is necessary to modify the default settings.
l When the radio card of a device is 802.11b, you are recommended to set the TXOPLimit values of AC-BK, AC-BE, AC-VI, and AC-VO to 0, 0, 188, and 102 respectively.
l The SVP packet mapping function takes effect only after you enable WMM.
Table 1-1 The default EDCA parameters for clients
AC |
AIFSN |
ECWmin |
ECWmax |
TXOP Limit |
AC-BK |
7 |
4 |
10 |
0 |
AC-BE |
3 |
4 |
10 |
0 |
AC-VI |
2 |
3 |
4 |
94 |
AC-VO |
2 |
2 |
3 |
47 |
Table 1-2 The default EDCA parameters for APs
AC |
AIFSN |
ECWmin |
ECWmax |
|
AC-BK |
7 |
4 |
10 |
0 |
AC-BE |
3 |
4 |
6 |
0 |
AC-VI |
1 |
3 |
4 |
94 |
AC-VO |
1 |
2 |
3 |
47 |
Displaying and Maintaining WMM
On ACs:
To do... |
Use the command… |
Remarks |
Display radio or client WMM configuration information |
display wlan wmm { radio { all | ap ap-name } | client { all | ap ap-name | mac-address mac-address } } |
Available in any view |
Display client or radio WLAN statistics |
display wlan statistics { client [ all | mac-address mac-address ] | radio [ ap-name ] } |
Available in any view |
Display WLAN radio policy information |
display wlan radio-policy [ radio-policy-name ] |
Available in any view |
Clear radio WMM statistics |
reset wlan wmm radio { all | ap ap-name } |
Available in user view |
Clear client WMM statistics |
reset wlan wmm client { all | ap ap-name | mac-address mac-address } |
Available in user view |
On FAT APs:
To do... |
Use the command… |
Remarks |
Display client WMM statistics |
display wlan statistics client { all | mac-address mac-address } |
Available in any view |
Display radio or client WMM configuration information |
display wlan wmm { radio [ interface wlan-radio wlan-radio-number ] | client { all | interface wlan-radio wlan-radio-number | mac-address mac-address } } |
Available in any view |
Clear radio or client WMM statistics |
reset wlan wmm { radio [ interface wlan-radio wlan-radio-number ] | client { all | interface wlan-radio wlan-radio-number | mac-address mac-address } } |
Available in user view |
WMM Configuration Examples (on ACs)
WMM Basic Configuration Example
Network requirements
As shown in Figure 1-2, AP 1 with sequence ID SZ001 and AP 2 with sequence ID SZ002 are connected to an AC through a Layer 2 switch. AP 1, AP 2, and AC are in the same network. AP 1 and AP 2 get IP addresses from a DHCP server. The IP address of the AC is 10.18.1.1/24.
It is required to configure basic WMM settings for AP 1 and AP 2 on the AC.
Figure 1-2 Network diagram for WMM basic configuration
Configuration procedure
# Configure interface WLAN-ESS 1.
<AC> system-view
[AC] undo l2fw fast-forwarding
[AC] interface wlan-ess 1
[AC-WLAN-ESS1] qos trust dot11e
[AC-WLAN-ESS1] quit
# Configure a WLAN service template and bind WLAN-ESS 1 to the service template.
[AC] wlan service-template 1 clear
[AC-wlan-st-1] ssid market
[AC-wlan-st-1] bind wlan-ess 1
[AC-wlan-st-1] authentication-method open-system
[AC-wlan-st-1] service-template enable
# Configure a radio policy.
[AC] wlan radio-policy radiopolicy1
[AC-wlan-rp-radiopolicy1] wmm enable
[AC-wlan-rp-radiopolicy1] quit
# Configure AP 1 on the AC.
[AC] wlan ap ap1 model WA2100
[AC-wlan-ap-ap1] serial-id SZ001
# Configure the radio of AP 1.
[AC-wlan-ap-ap1] radio 1 type dot11a
[AC-wlan-ap-ap1-radio-1] channel 149
[AC-wlan-ap-ap1-radio-1] radio-policy radiopolicy1
[AC-wlan-ap-ap1-radio-1] service-template 1
[AC-wlan-ap-ap1-radio-1] return
# Configure AP 2 on the AC.
<AC> system-view
[AC] wlan ap ap2 model WA2100
[AC-wlan-ap-ap2] serial-id SZ002
# Configure the radio of AP 2.
[AC-wlan-ap-ap2] radio 1 type dot11a
[AC-wlan-ap-ap2-radio-1] channel 149
[AC-wlan-ap-ap2-radio-1] radio-policy radiopolicy1
[AC-wlan-ap-ap2-radio-1] service-template 1
[AC-wlan-ap-ap2-radio-1] quit
[AC-wlan-ap-ap2] quit
# Enable all radios.
[AC] wlan radio enable all
CAC Service Configuration Example
Network requirements
As shown below, AP 1 with sequence ID SZ001 and AP 2 with sequence ID SZ002 are connected to an AC through a Layer 2 switch. AP 1, AP 2, and the AC are in the same network. AP 1 and AP 2 get IP addresses from a DHCP server. The IP address of AC is 10.18.1.1/24.
It is required to configure CAC for AC-VO and AC-VI of AP 1 and AP 2 on the AC, using a users-based admission policy to allow an AP to accommodate up to ten clients in AC-VO and AC-VI.
Figure 1-3 Network diagram for CAC configuration
Configuration procedure
# Configure interface WLAN-ESS 1.
<AC> system-view
[AC] undo l2fw fast-forwarding
[AC] interface WLAN-ESS 1
[AC-WLAN-ESS1] qos trust dot11e
[AC-WLAN-ESS1] quit
# Configure a WLAN service template and bind WLAN-ESS 1 to the service template.
[AC] wlan service-template 1 clear
[AC-wlan-st-1] ssid market
[AC-wlan-st-1] bind WLAN-ESS 1
[AC-wlan-st-1] authentication-method open-system
[AC-wlan-st-1] service-template enable
# Configure a radio policy.
[AC] wlan radio-policy radiopolicy1
[AC-wlan-rp-radiopolicy1] wmm enable
[AC-wlan-rp-radiopolicy1] wmm edca client ac-vo cac
[AC-wlan-rp-radiopolicy1] wmm edca client ac-vi cac
[AC-wlan-rp-radiopolicy1] wmm cac policy users 10
[AC-wlan-rp-radiopolicy1] quit
# Configure AP 1 on the AC.
[AC] wlan ap ap1 model WA2100
[AC-wlan-ap-ap1] serial-id SZ001
# Configure the radio of AP 1.
[AC-wlan-ap-ap1] radio 1 type dot11a
[AC-wlan-ap-ap1-radio-1] channel 149
[AC-wlan-ap-ap1-radio-1] radio-policy radiopolicy1
[AC-wlan-ap-ap1-radio-1] service-template 1
[AC-wlan-ap-ap1-radio-1] return
# Configure AP 2 on the AC.
<AC> system-view
[AC] wlan ap ap2 model WA2100
[AC-wlan-ap-ap2] serial-id SZ002
# Configure the radio of AP 2.
[AC-wlan-ap-ap2] radio 1 type dot11a
[AC-wlan-ap-ap2-radio-1] channel 149
[AC-wlan-ap-ap2-radio-1] radio-policy radiopolicy1
[AC-wlan-ap-ap2-radio-1] service-template 1
[AC-wlan-ap-ap2-radio-1] quit
[AC-wlan-ap-ap2] quit
# Enable all radios.
[AC] wlan radio enable all
SVP Service Configuration Example
Network requirements
As shown below, AP 1 with sequence ID SZ001 and AP 2 with sequence ID SZ002 are connected to an AC through a Layer 2 switch. AP 1, AP 2, and the AC are in the same network. AP 1 and AP 2 get IP addresses from a DHCP server. The IP address of AC is 10.18.1.1/24.
It is required that:
l On AP 1 and AP 2, SVP packets are assigned to AC-VO.
l To guarantee the highest priority for AC-VO, ECWmin and ECWmax are set to 0 for AC-VO of AP 1 and AP 2.
Figure 1-4 Network diagram for SVP configuration
Configuration procedure
# Configure the interface WLAN-ESS 1.
<AC> system-view
[AC] undo l2fw fast-forwarding
[AC] interface WLAN-ESS 1
[AC-WLAN-ESS1] qos trust dot11e
[AC-WLAN-ESS1] quit
# Configure a WLAN service template and bind WLAN-ESS 1 to the service template.
[AC] wlan service-template 1 clear
[AC-wlan-st-1] ssid market
[AC-wlan-st-1] bind WLAN-ESS 1
[AC-wlan-st-1] authentication-method open-system
[AC-wlan-st-1] service-template enable
# Configure a radio policy.
[AC] wlan radio-policy radiopolicy1
[AC-wlan-rp-radiopolicy1] wmm enable
# Assign SVP packets to AC-VO.
[AC-wlan-rp-radiopolicy1] wmm svp map-ac ac-vo
# Set ECWmin and ECWmax of AC-VO to 0.
[AC-wlan-rp-radiopolicy1] wmm edca radio ac-vo ecw ecwmin 0 ecwmax 0
[AC-wlan-rp-radiopolicy1] quit
# Configure AP 1 on the AC.
[AC] wlan ap ap1 model WA2100
[AC-wlan-ap-ap1] serial-id SZ001
# Configure the radio of AP 1.
[AC-wlan-ap-ap1] radio 1 type dot11a
[AC-wlan-ap-ap1-radio-1] channel 149
[AC-wlan-ap-ap1-radio-1] radio-policy radiopolicy1
[AC-wlan-ap-ap1-radio-1] service-template 1
[AC-wlan-ap-ap1-radio-1] return
# Configure AP 2 on the AC.
<AC> system-view
[AC] wlan ap ap2 model WA2100
[AC-wlan-ap-ap2] serial-id SZ002
# Configure the radio of AP 2.
[AC-wlan-ap-ap2] radio 1 type dot11a
[AC-wlan-ap-ap2-radio-1] channel 149
[AC-wlan-ap-ap2-radio-1] radio-policy radiopolicy1
[AC-wlan-ap-ap2-radio-1] service-template 1
[AC-wlan-ap-ap2-radio-1] quit
[AC-wlan-ap-ap2] quit
# Enable all radios.
[AC] wlan radio enable all
Traffic Differentiation Test Configuration Example
Network requirements
As shown below, AP 1 with sequence ID SZ001 and AP 2 with sequence ID SZ002 are connected to an AC through a Layer 2 switch. AP 1, AP 2, and the AC are in the same network. AP 1 and AP 2 get IP addresses from a DHCP server. The IP address of the AC is 10.18.1.1/24.
It is required to configure the AC to map IP precedence 7 to local precedence 7, allowing such packets to occupy more bandwidth when being transmitted on the wireless network.
Figure 1-5 Network diagram for WLAN services
Configuration procedure
# Configure a QoS policy.
<AC> system-view
[AC] traffic classifier wmm
[AC-classifier-wmm] if-match ip-precedence 7
[AC-classifier-wmm] quit
[AC] traffic behavior wmm
[AC-behavior-wmm] remark local-precedence 7
[AC-behavior-wmm] quit
[AC] qos policy wmm
[AC-qospolicy-wmm] classifier wmm behavior wmm
[AC-qospolicy-wmm] quit
# Configure GigabitEthernet 1/0/1.
[AC] interface GigabitEthernet 1/0/1
[AC-GigabitEthernet1/0/1] qos apply policy wmm inbound
[AC-GigabitEthernet1/0/1] quit
# Configure the interface WLAN-ESS 1.
[AC] undo l2fw fast-forwarding
[AC] interface WLAN-ESS 1
[AC-WLAN-ESS1] qos trust dot11e
[AC-WLAN-ESS1] quit
# Configure a WLAN service template and bind WLAN-ESS 1 to the service template.
[AC] wlan service-template 1 clear
[AC-wlan-st-1] ssid market
[AC-wlan-st-1] bind WLAN-ESS 1
[AC-wlan-st-1] authentication-method open-system
[AC-wlan-st-1] service-template enable
[AC-wlan-st-1] quit
# Configure a radio policy.
[AC] wlan radio-policy radiopolicy1
[AC-wlan-rp-radiopolicy1] wmm enable
[AC-wlan-rp-radiopolicy1] quit
# Configure AP 1 on the AC.
[AC] wlan ap ap1 model WA2100
[AC-wlan-ap-ap1] serial-id SZ001
# Configure the radio of AP 1.
[AC-wlan-ap-ap1] radio 1 type dot11a
[AC-wlan-ap-ap1-radio-1] channel 149
[AC-wlan-ap-ap1-radio-1] radio-policy radiopolicy1
[AC-wlan-ap-ap1-radio-1] service-template 1
[AC-wlan-ap-ap1-radio-1] return
# Configure AP 2 on the AC.
<AC> system-view
[AC] wlan ap ap2 model WA2100
[AC-wlan-ap-ap2] serial-id SZ002
# Configure the radio of AP 2.
[AC-wlan-ap-ap2] radio 1 type dot11a
[AC-wlan-ap-ap2-radio-1] channel 149
[AC-wlan-ap-ap2-radio-1] radio-policy radiopolicy1
[AC-wlan-ap-ap2-radio-1] service-template 1
[AC-wlan-ap-ap2-radio-1] quit
[AC-wlan-ap-ap2] quit
# Enable all the radios.
[AC] wlan radio enable all
WMM Configuration Examples (on FAT APs)
WMM Basic Configuration
Network requirements
As shown in the figure below, configure WMM basic settings on the FAT AP.
Figure 1-6 WMM basic configuration
Configuration procedure
# Configure interface WLAN-BSS 1.
<Sysname> system-view
[Sysname] interface wlan-bss 1
[Sysname-WLAN-BSS1] qos trust dot11e
[Sysname-WLAN-BSS1] quit
# Configure the Ethernet interface.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] qos trust dot1p
[Sysname-Ethernet1/0/1] quit
# Configure a WLAN service template.
[Sysname] wlan service-template 1 clear
[Sysname-wlan-st-1] ssid market
[Sysname-wlan-st-1] authentication-method open-system
[Sysname-wlan-st-1] service-template enable
# Configure the radio interface.
[Sysname] interface wlan-radio 1/0/2
[Sysname-WLAN-Radio1/0/2] radio-type dot11g
[Sysname-WLAN-Radio1/0/2] service-template 1 interface wlan-bss 1
[Sysname-WLAN-Radio1/0/2] wmm enable
[Sysname-WLAN-Radio1/0/2] quit
CAC Service Configuration Example
Network requirements
The FAT AP is connected to the Ethernet and has WMM enabled.
Enable CAC for the AC-VO and AC-VI clients of the FAT AP. Use a users-based admission policy to allow up to 10 users to access.
Figure 1-7 CAC service configuration
Configuration procedure
# Configure interface WLAN-BSS 1.
<Sysname> system-view
[Sysname] interface wlan-bss 1
[Sysname-WLAN-BSS1] qos trust dot11e
[Sysname-WLAN-BSS1] quit
# Configure the Ethernet interface.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] qos trust dot1p
[Sysname-Ethernet1/0/1] quit
# Configure a WLAN service template.
[Sysname] wlan service-template 1 clear
[Sysname-wlan-st-1] ssid market
[Sysname-wlan-st-1] authentication-method open-system
[Sysname-wlan-st-1] service-template enable
# Configure the radio interface.
[Sysname] interface wlan-radio 1/0/2
[Sysname-WLAN-Radio1/0/2] radio-type dot11g
[Sysname-WLAN-Radio1/0/2] service-template 1 interface wlan-bss 1
[Sysname-WLAN-Radio1/0/2] wmm edca client ac-vo cac
[Sysname-WLAN-Radio1/0/2] wmm edca client ac-vi cac
[Sysname-WLAN-Radio1/0/2] wmm cac policy users 10
[Sysname-WLAN-Radio1/0/2] wmm enable
[Sysname-WLAN-Radio1/0/2] quit
SVP Service Configuration Example
Network requirements
The FAT AP is connected to the Ethernet and has WMM enabled. On the FAT AP, SVP packets are assigned to AC-VO. To guarantee the highest priority for AC-VO, ECWmin and ECWmax are set to 0 for AC-VO.
Figure 1-8 SVP service configuration
Configuration procedure
# Configure interface WLAN-BSS 1.
<Sysname> system-view
[Sysname] interface wlan-bss 1
[Sysname-WLAN-BSS1] qos trust dot11e
[Sysname-WLAN-BSS1] quit
# Configure the Ethernet interface.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] qos trust dot1p
[Sysname-Ethernet1/0/1] quit
# Configure a WLAN service template.
[Sysname] wlan service-template 1 clear
[Sysname-wlan-st-1] ssid market
[Sysname-wlan-st-1] authentication-method open-system
[Sysname-wlan-st-1] service-template enable
# Configure the radio interface.
[Sysname] interface wlan-radio 1/0/2
[Sysname-WLAN-Radio1/0/2] radio-type dot11g
[Sysname-WLAN-Radio1/0/2] service-template 1 interface wlan-bss 1
[Sysname-WLAN-Radio1/0/2] wmm enable
[Sysname-WLAN-Radio1/0/2] wmm svp map-ac ac-vo
[Sysname-WLAN-Radio1/0/2] wmm edca radio ac-vo ecw ecwmin 0 ecwmax 0
[Sysname-WLAN-Radio1/0/2] quit
Troubleshooting
EDCA Parameter Configuration Failure
Symptom
Configuring EDCA parameters for an AP failed.
Analysis
The EDCA parameter configuration of an AP is restricted by the radio chip of the AP.
Solution
1) Use the display wlan wmm radio ap ap-name command to view the support of the radio chip for the EDCA parameters. Make sure the configured EDCA parameters are supported by the radio chip.
2) Check that the values configured for the EDCA parameters are valid.
SVP or CAC Configuration Failure
Symptom
The SVP packet priority mapping function configured with the wmm svp map-ac command does not take effect.
CAC configured with the wmm edca client command does not take effect.
Analysis
The SVP packet priority mapping function or CAC takes effect only after WMM is enabled.
Solution
1) Use the wmm enable command to enable the WMM function.
2) Check the state of the SVP priority mapping function or CAC again.