- Table of Contents
-
- 02-WLAN Command Reference
- 00-Preface
- 01-WLAN Interface Commands
- 02-WLAN Access Commands
- 03-WLAN Security Commands
- 04-IACTP Tunnel and WLAN Roaming Commands
- 05-WLAN RRM Commands
- 06-WLAN IDS Commands
- 07-WLAN QoS Commands
- 08-WLAN Mesh Link Commands
- 09-Advanced WLAN Commands
- 10-WLAN High Availability Commands
- 11-WLAN IPS Commands
- 12-WLAN Optimization Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
07-WLAN QoS Commands | 89.60 KB |
bandwidth-guarantee service-template
client-rate-limit direction (WLAN service-based)
client-rate-limit direction (radio-based)
display wlan bandwidth-guarantee
display wlan client-rate-limit
wmm edca client (ac-vo and ac-vi)
wmm edca client (ac-be and ac-bk)
WLAN QoS commands
bandwidth-guarantee enable
Use bandwidth-guarantee enable to enable bandwidth guaranteeing.
Use undo bandwidth-guarantee enable to restore the default.
Syntax
bandwidth-guarantee enable
undo bandwidth-guarantee enable
Default
Bandwidth guaranteeing is disabled.
Views
Radio view
Default command level
2: System level
Examples
# Enable bandwidth guaranteeing.
<Sysname> system-view
[Sysname] wlan ap ap1 model WA3628i-AGN
[Sysname-wlan-ap-ap1] radio 1
[Sysname-wlan-ap-ap1-radio-1] bandwidth-guarantee enable
bandwidth-guarantee service-template
Use bandwidth-guarantee service-template to configure a guaranteed bandwidth percent for the specified service template.
Use undo bandwidth-guarantee service-template to cancel the guaranteed bandwidth percent configuration.
Syntax
bandwidth-guarantee service-template service-template-number percent percent
undo bandwidth-guarantee { all | service-template service-template-number }
Default
No guaranteed bandwidth percent is configured for a service template.
Views
Radio view
Default command level
2: System level
Parameters
service-template service-template-number: Specifies a service template by its number, which is in the range of 1 to 1024.
percent percent: Specifies the percentage of the guaranteed bandwidth to the total bandwidth. The value range for the percent argument is 1 to 100.
all: Specifies all service templates.
Usage guidelines
The service template must have been bound to the radio.
For all service templates bound to the same radio, the sum of guaranteed bandwidth percents cannot exceed 100%.
Examples
# Set the guaranteed bandwidth percent to 30% for service template 1.
<Sysname> system-view
[Sysname] wlan ap ap1 model WA2620E-AGN
[Sysname-wlan-ap-ap1] radio 1
[Sysname-wlan-ap-ap1-radio-1] service-template 1
[Sysname-wlan-ap-ap1-radio-1] bandwidth-guarantee service-template 1 percent 30
client-rate-limit direction (WLAN service-based)
Use client-rate-limit direction to configure WLAN service-based client rate limiting.
Use undo client-rate-limit direction to restore the default.
Syntax
client-rate-limit direction { inbound | outbound } mode { dynamic | static } cir cir
undo client-rate-limit direction { inbound | outbound }
Default
WLAN service-based client rate limiting is disabled.
Views
Service template view
Default command level
2: System level
Parameters
inbound: Specifies the traffic from clients to APs (the outgoing traffic of clients).
outbound: Specifies the traffic from APs to clients (the incoming traffic of clients).
dynamic: Specifies the dynamic mode, where the rate limit for each client is the configured CIR per the number of online clients.
static: Specifies the static mode, where the rate limit for each client is the configured CIR.
cir cir: Specifies the rate limit (in kbps) for each client in static mode or specifies the total rate limit for all clients in dynamic mode. This argument is in the range of 16 to 1300000.
Usage guidelines
WLAN service-based client rate limiting can limit the rate of traffic from clients to APs or the rate of traffic from APs to clients. You can configure client rate limiting for both incoming traffic and outgoing traffic in the same service template.
Examples
# Configure WLAN service-based client rate limiting to limit the outgoing traffic rate of each client to 567 kbps and the total incoming traffic rate of all clients to 89 kbps.
<Sysname> system-view
[Sysname] wlan service-template 1 clear
[Sysname-wlan-st-1] client-rate-limit direction inbound mode static cir 567
[Sysname-wlan-st-1] client-rate-limit direction outbound mode dynamic cir 89
client-rate-limit direction (radio-based)
Use client-rate-limit direction to configure radio-based client rate limiting.
Use undo client-rate-limit direction to restore the default.
Syntax
client-rate-limit direction { inbound | outbound } mode { dynamic | static } cir cir
undo client-rate-limit direction { inbound | outbound }
Default
Radio-based client rate limiting is disabled.
Views
Radio view
Default command level
2: System level
Parameters
inbound: Specifies the traffic from clients to APs (the outgoing traffic of clients).
outbound: Specifies the traffic from APs to clients (the incoming traffic of clients).
dynamic: Specifies the dynamic mode, where the rate limit for each client is the configured CIR per the number of online clients.
static: Specifies the static mode, where the rate limit for each client is the configured CIR.
cir cir: Specifies the rate limit (in kbps) for each client in static mode or specifies the total rate limit for all clients in dynamic mode. This argument is in the range of 16 to 1300000.
Usage guidelines
Radio-based client rate limiting can limit the rate of traffic from clients to APs or the rate of traffic from APs to clients. You can configure client rate limiting for both incoming traffic and outgoing traffic in the same service template.
Examples
# Configure radio-based client rate limiting to limit the outgoing traffic rate of each client to 567 kbps and the total incoming traffic rate of all clients to 89 kbps.
<Sysname> system-view
[Sysname] wlan ap ap1 model WA2620E-AGN
[Sysname-wlan-ap-ap1] radio 1
[Sysname-wlan-ap-ap1-1] client-rate-limit direction inbound mode static cir 567
[Sysname-wlan-ap-ap1-1] client-rate-limit direction outbound mode dynamic cir 89
display wlan bandwidth-guarantee
Use display wlan bandwidth-guarantee to display the bandwidth guaranteeing configuration.
Syntax
display wlan bandwidth-guarantee [ ap ap-name radio radio-id ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
ap ap-name: Specifies an AP by its name. If you do not specify an AP, this command displays the bandwidth guaranteeing configuration of all APs.
radio radio-id: Specifies a radio by its ID. If you do not specify a radio, this command displays the bandwidth guaranteeing configuration of all radios.
interface radio-interface-name: Specifies a radio interface by its name. If you do not specify a radio interface, this command displays the bandwidth guaranteeing configuration of all radio interfaces.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display bandwidth guaranteeing configuration.
<Sysname> display wlan bandwidth-guarantee
Bandwidth Guarantee
ST: service template
--------------------------------------------------------------------------------
AP Radio Mode ST Percent
--------------------------------------------------------------------------------
2220 1 802.11a 1 80%
AP_wa2620_agn_1 2 802.11n(2.4GHz) 1 20%
AP_wa2620_agn_1 2 802.11n(2.4GHz) 2 30%
--------------------------------------------------------------------------------
Table 1 Command output
Field |
Description |
AP |
AP name. |
Radio |
Radio ID. |
Mode |
Radio mode: · 802.11a. · 802.11b. · 802.11g. · 802.11n(2.4GHz) · 802.11n(5GHz) |
ST |
Service template number. |
Percent |
Guaranteed bandwidth percent. |
display wlan client-rate-limit
Use display wlan client-rate-limit to display client-rate limiting information.
Use display wlan client-rate-limit service-template to display WLAN service-based client-rate limiting information.
Use display wlan client-rate-limit ap to display wireless radio-based client-rate limiting information.
Syntax
display wlan client-rate-limit { service-template [ service-template-number ] | ap [ ap-name radio radio-id ] } [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
service-template service-template-number: Specifies a service template by its number. If you do not specify a service template, this command displays service-based client-rate limiting information of all service templates.
ap ap-name: Specifies an AP by its name. If you do not specify an AP, this command displays radio-based client rate limiting of all APs.
radio radio-id: Specifies a radio by its ID. If you do not specify a radio, this command displays client rate limiting configuration of all radios.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display WLAN service-based client rate limiting information.
<Sysname> display wlan client-rate-limit service-template
Client Rate Limit
--------------------------------------------------------------------------------
Service Template Direction Mode CIR(kbps)
--------------------------------------------------------------------------------
1 Inbound Dynamic 1000
2 Outbound Static 150
3 Inbound Static 300
--------------------------------------------------------------------------------
Table 2 Command output
Field |
Description |
Service Template |
Service template number. |
Direction |
Rate-limited direction: · Inbound. · Outbound. |
Mode |
Rate-limiting mode: · Dynamic (shared bandwidth). · Static (exclusive bandwidth). |
CIR(kbps) |
Rate limit (in kbps). |
# Display radio-based client rate limiting information.
<Sysname> display wlan client-rate-limit ap 2220 radio 1
Client Rate Limit
--------------------------------------------------------------------------------
AP : 2220
Radio : 1
--------------------------------------------------------------------------------
Inbound
Mode : Dynamic
CIR : 1000kbps
Outbound
Mode : Static
CIR : 150kbps
--------------------------------------------------------------------------------
Table 3 Command output
Field |
Description |
AP |
AP name. |
Radio |
Radio ID. |
Mode (Inbound) |
Rate limiting mode for the incoming traffic: · Dynamic (shared bandwidth) · Static (exclusive bandwidth) |
CIR (Inbound) |
Rate limit for the incoming traffic. |
Mode (Outbound) |
Rate limiting mode for the outgoing traffic: · Dynamic (shared bandwidth). · Static (exclusive bandwidth). |
CIR (Outbound) |
Rate limit for the outgoing traffic. |
display wlan wmm
Use display wlan wmm to display the WMM information.
Use display wlan wmm radio to display the WMM information of the specified AP's radio or all radios.
Use display wlan wmm client to display the WMM information of the client identified by the specified MAC address, of the clients associated with the specified AP, or of all clients.
Syntax
display wlan wmm { radio { all | ap ap-name } | client { all | ap ap-name | mac-address mac-address } } [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
2: System level
Parameters
radio: Displays radio WMM information.
client: Displays client WMM information.
all: Displays WMM information about all radios or clients.
ap ap-name: Specifies an AP by its name, a case-insensitive string of 1 to 64 characters.
interface wlan-radio wlan-radio-number: Specifies a WLAN-radio interface.
mac-address mac-address: Specifies a client by its MAC address.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the WMM information of radios of the AP named test.
<Sysname> display wlan wmm radio ap test
AP ID : 4 AP Name : test
--------------------------------------------------------------------------
Radio : 1
--------------------------------------------------------------------------Client EDCA update count : 0
QoS Mode : WMM Radio chip QoS mode : WMM
Radio chip max AIFSN : 255 Radio chip max ECWmin : 10
Radio chip max TXOPLimit : 32767 Radio chip max ECWmax : 10
CAC Information
Client accepted : 0
Voice : 0
Video : 0
Total request mediumtime(us) : 0
Voice(us) : 0
Video(us) : 0
Calls rejected due to insufficient resource : 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 update count : 0
QoS Mode : WMM Radio chip QoS mode : WMM
Radio chip max AIFSN : 255 Radio chip max ECWmin : 10
Radio chip max TXOPLimit : 32767 Radio chip max ECWmax : 10
CAC Information
Client accepted : 0
Voice : 0
Video : 0
Total request mediumtime(us) : 0
Voice(us) : 0
Video(us) : 0
Calls rejected due to insufficient resource : 0
Calls rejected due to invalid parameters : 0
Calls rejected due to invalid mediumtime : 0
Calls rejected due to invalid delaybound : 0
--------------------------------------------------------------------------
Table 4 Command output
Field |
Description |
AP ID |
AP ID. |
AP Name |
AP name. |
Radio |
Radio ID. |
QoS mode |
QoS mode: · WMM—The WMM function is supported. · none—The WMM function is not supported. |
Client EDCA update count |
Number of client EDCA parameters updates. |
Radio chip WMM support |
Indicates whether the radio chip supports the WMM function. |
Radio chip max AIFSN |
Maximum AIFSN allowed by the radio chip. |
Radio chip max ECWMIN |
Maximum ECWmin allowed by the radio chip. |
Radio chip max TXOPLimit |
Maximum TXOPLimit allowed by the radio chip. |
Radio chip max ECWMAX |
Maximum ECWmax allowed by the radio chip. |
Station accepted |
Number of stations that have been admitted to access the radio. |
Voice Mediumtime in use(microsecond per second) |
Total medium time of voice traffic (in microseconds per second). |
Video Mediumtime in use(microsecond per second) |
Total medium time of video traffic (in microseconds per second). |
Voice calls in progress |
Number of voice calls in progress. |
Video calls in progress |
Number of video calls in progress. |
Calls rejected due to insufficient resource |
Number of requests rejected due to insufficient resources. |
Calls rejected due to invalid parameters |
Number of requests rejected due to invalid parameters. |
Calls rejected due to invalid mediumtime |
Number of requests rejected due to invalid medium time. |
Calls rejected due to invalid delaybound |
Number of requests rejected due to invalid delay bound. |
# Display the WMM information of all the clients.
<Sysname> display wlan wmm client all
--------------------------------------------------------------------
MAC address: 000f-e23c-0000 SSID: h3c
Service Template Number:1 QoS Mode: None
--------------------------------------------------------------------
MAC address : 000f-e23c-0001 SSID : h3c
QoS Mode : WMM
APSD information :
Max SP Length : all
L: Legacy T: Trigger D: Delivery
AC AC-BK AC-BE AC-VI AC-VO
State T|D L T|D T|D
Assoc State T|D L T|D T|D
CAC information :
Uplink CAC packets : 0 Downlink CAC packets : 0
Uplink CAC bytes : 0 Downlink CAC bytes : 0
Downgrade packets : 0 Discard packets : 0
Downgrade bytes : 0 Discard bytes : 0
AC : AC-VO User Priority : 7
TID : 1 Direction : Bidirectional
PSB : 0 Surplus Bandwidth Allowance : 1.0000
Medium Time(ms) : 39.108 Nominal MSDU Size(bytes) : 1500
Mean Data Rate(Kbps): 78.125 Minimum PHY Rate(Mbps) : 2.000
Create TS time : 5s
Update TS time : 5s
Uplink TS packets : 0 Downlink TS packets : 0
Uplink TS bytes : 0 Downlink TS bytes : 0
Table 5 Command output
Field |
Description |
MAC address |
MAC address of a station. |
SSID |
Service set ID. |
Service Template Number |
Number of the service template associated with the client. |
QoS Mode |
QoS mode: · WMM—The WMM function is supported. · none—The WMM function is not supported. |
Max sp length |
Maximum service period. |
AC |
Access category. |
State |
APSD attribute of an AC queue: · T—The AC queue is trigger enabled. · D—The AC queue is delivery enabled. · T | D—The AC queue is both trigger enabled and delivery enabled. · L—The AC queue is of legacy attributes. |
Assoc State |
APSD attributes of the four AC queues specified when a client accesses the AP. |
Uplink CAC packets |
Number of uplink CAC packets. |
Uplink CAC bytes |
Number of uplink CAC bytes. |
Downlink CAC packets |
Number of downlink CAC packets. |
Downlink CAC bytes |
Number of downlink CAC bytes. |
Downgrade packets |
Number of downgraded packets. |
Downgrade bytes |
Number of downgraded bytes. |
Discard packets |
Number of dropped packets. |
Discard bytes |
Number of dropped bytes. |
Direction |
Traffic direction. |
User Priority |
User priority. |
TID |
Traffic identifier. |
PSB |
Power-saving mode banner. |
Nominal MSDU Size(bytes) |
Average MSDU size (in bytes). |
Mean Data Rate(kbps) |
Average data transmission rate (in kbps). |
Minimum PHY Rate(Mbps) |
Minimum physical transmission rate (in Mbps). |
Surplus Bandwidth Allowance |
Surplus bandwidth allowance. |
Medium Time(ms) |
Medium time (in microseconds). |
Create TS time |
Time from when the TS was created to now. |
Update TS time |
Time from when the TS was updated to now. |
Uplink TS packets |
Number of uplink TS packets. |
Uplink TS bytes |
Number of uplink TS bytes. |
Downlink TS packets |
Number of downlink TS packets. |
Downlink TS bytes |
Number of downlink TS bytes. |
reset wlan wmm
Use reset wlan wmm to clear WMM statistics.
Use reset wlan wmm radio to clear the WMM statistics for the radio of the specified AP or all radios.
Use reset wlan wmm client to clear the WMM statistics for the client identified by the specified MAC address, the clients associated with the specified AP, or all clients.
Syntax
reset wlan wmm { radio { all | ap ap-name } | client { all | ap ap-name | mac-address mac-address } }
Views
User view
Default command level
2: System level
Parameters
radio: Clears the WMM statistics for radios.
client: Clears the WMM statistics for clients.
all: Clears the WMM statistics for all radios or clients.
ap ap-name: Specifies an AP by its name, a case-insensitive string of 1 to 64 characters.
mac-address mac-address: Specifies a client by its MAC address.
Examples
# Clear the WMM statistics for all the radios.
<Sysname> reset wlan wmm radio all
wmm cac policy
Use wmm cac policy to configure the access control policy for CAC.
Use undo wmm cac policy to restore the default.
Syntax
wmm cac policy { channelutilization [ channelutilization-value ] | users [ users-number ] }
undo wmm cac policy
Default
The users-based admission policy applies, with the maximum number of admitted users being 20.
Views
Radio-policy view
Default command level
2: System level
Parameters
channelutilization: Uses the channel utilization-based admission policy for CAC.
channelutilization-value: Maximum channel utilization rate, which specifies the medium time of the accepted AC-VO traffic and AC-VI traffic to the valid time during the unit time. This argument is in the range of 0 to 100 and it is 65 by default. The unit is % (percentage). The valid time refers to the time available for transmitting and receiving data.
users: Uses the users-based admission policy for CAC.
users-number: Specifies the maximum number of clients allowed to be connected, which is in the range of 0 to 124. This argument is 20 by default. A client is counted only once, even if it is using both the AC-VO and AC-VI queues.
Examples
# Configure CAC to use the channel utilization-based admission policy, with the channel utilization rate being 70%.
<Sysname> system-view
[Sysname] wlan radio-policy radio1
[Sysname-wlan-rp-radio1] wmm cac policy channelutilization 70
wmm edca client
wmm edca radio
Use wmm edca radio to set the EDCA parameters and specify the ACK policy.
Use undo wmm edca radio to restore the default.
Syntax
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 } *
undo wmm edca radio { ac-vo | ac-vi | ac-be | ac-bk } { aifsn | ecw | txoplimit | noack | all }
Default
Normal ACK is used, and the default EDCA parameters are as shown in Table 6.
Table 6 The default EDCA parameters for APs
AC queue |
AIFSN |
ECWmin |
ECWmax |
TXOP Limit |
AC-BK queue |
7 |
4 |
10 |
0 |
AC-BE queue |
3 |
4 |
6 |
0 |
AC-VI queue |
1 |
3 |
4 |
94 |
AC-VO queue |
1 |
2 |
3 |
47 |
Views
Radio-policy view
Default command level
2: System level
Parameters
ac-vo: Specifies the AC-VO (voice traffic) queue.
ac-vi: Specifies the AC-VI (video traffic) queue.
ac-be: Specifies the AC-BE (best-effort traffic) queue.
ac-bk: Specifies the AC-BK (background traffic) queue.
all: Specifies all the EDCA parameters.
noack: Specifies the AC queue to use the No ACK policy. The protocol defines two ACK policies: Normal ACK and No ACK.
txoplimit-value: Specifies the TXOPLimit parameter of EDCA. The range of this value (in units of 32 microseconds) varies with the device model of the AP configured on the AC. The TXOP value of 0 indicates that only one MPDU can be transmitted. The range of this argument is limited by the radio chip capability.
ecwmin-value: Specifies the ECWmin parameter of EDCA. The range of this value varies with the device model of the AP configured on the AC. The range of this argument is limited by the radio chip capability.
ecwmax-value: Specifies the ECWmax parameter of EDCA. The range of this value varies with the device model of the AP configured on the AC. The range of this argument is limited by the radio chip capability.
aifsn-value: Specifies the AIFSN parameter of EDCA. The range of this value varies with the device model of the AP configured on the AC. The range of this argument is limited by the radio chip capability.
Usage guidelines
For a description of each EDCA parameter, see WLAN Configuration Guide.
ECWmin must be no greater than ECWmax. The two parameters must be enabled or disabled simultaneously.
When an AP uses 802.11b radio cards, H3C recommends that you set TXOPLimit values of the AC-BK, AC-BE, AC-VI, and AC-VO queues to 0, 0, 188, and 102, respectively.
Examples
# Set AIFSN to 2 for the AC-VO queue in radio policy radio1.
<Sysname> system-view
[Sysname] wlan radio-policy radio1
[Sysname-wlan-rp-radio1] wmm edca radio ac-vo aifsn 2
wmm edca client (ac-vo and ac-vi)
Use wmm edca client to set EDCA parameters for the AC-BE or AC-BK queue for clients.
Use undo wmm edca client to restore the default of the specified or all EDCA parameters for the specified AC queue.
Syntax
wmm edca client { ac-vo | ac-vi } { aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value | cac } *
undo wmm edca client { ac-vo | ac-vi } { aifsn | ecw | txoplimit | cac | all }
Default
Table 7 lists the default EDCA parameters of the AC-VI and AC-VO queue for clients.
Table 7 Default EDCA parameters for clients
AC queue |
AIFSN |
ECWmin |
ECWmax |
TXOP Limit |
AC-VI queue |
2 |
3 |
4 |
94 |
AC-VO queue |
2 |
2 |
3 |
47 |
Views
Radio-policy view
Default command level
2: System level
Parameters
ac-vo: Specifies the AC-VO (voice traffic) queue.
ac-vi: Specifies the AC-VI (video traffic) queue.
all: Specifies all EDCA parameters.
cac: Enables CAC. The AC-VO and AC-VI queues support CAC, which is disabled by default. The AC-BE and AC-BK queues do not support CAC.
aifsn-value: Specifies the AIFSN parameter of EDCA, which is in the range of 2 to 15.
ecwmin-value: Specifies the ECWmin parameter of EDCA, which is in the range of 0 to 15.
ecwmax-value: Specifies the ECWmax parameter of EDCA, which is in the range of 0 to 15.
txoplimit-value: Specifies the TXOPLimit parameter of EDCA, which is in the range of 0 to 65535 (in units of 32 microseconds). The TXOP value of 0 indicates that only one MPDU can be transmitted.
Usage guidelines
For a description of each EDCA parameter, see WLAN Configuration Guide.
ECWmin must not be greater than ECWmax. The two parameters must be enabled or disabled simultaneously.
When all the clients are 802.11b terminals, H3C recommends that you set the TXOPLimit to 188 and 102 for the AC-VI and AC-VO queues, respectively.
If both 802.11b and 802.11g clients are present, H3C recommends that you use the default TXOPLimit settings in Table 7.
If CAC is enabled for an AC queue, CAC is also enabled for AC queues with higher priority. For example, if you use the wmm edca client command to enable CAC for the AC-VI queue, CAC is also enabled for the AC-VO queue. However, enabling CAC for the AC-VO queue does not enable CAC for the AC-VI queue.
Examples
# Set AIFSN to 3 for the AC-VO queue.
<Sysname> system-view
[Sysname] wlan radio-policy radio1
[Sysname-wlan-rp-radio1] wmm edca client ac-vo aifsn 3
wmm edca client (ac-be and ac-bk)
Use wmm edca client to set the EDCA parameters of the AC-VO or AC-VI queue for the clients in a BSS.
Use undo wmm edca client to restore the default.
Syntax
wmm edca client { ac-be | ac-bk } { aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value } *
undo wmm edca client { ac-be | ac-bk } { aifsn | ecw | txoplimit | all }
Default
Table 8 lists the default EDCA parameter settings for the AC-BK and AC-BE queues for clients.
Table 8 Default EDCA parameter settings for clients
AC queue |
AIFSN |
ECWmin |
ECWmax |
TXOP Limit |
AC-BK queue |
7 |
4 |
10 |
0 |
AC-BE queue |
3 |
4 |
10 |
0 |
Views
Radio-policy view
Default command level
2: System level
Parameters
ac-be: Specifies the AC-BE (best-effort traffic) queue.
ac-bk: Specifies the AC-BK (background traffic) queue.
all: Specifies all the EDCA parameters.
aifsn-value: Specifies the AIFSN parameter of EDCA, which is in the range of 2 to 15.
ecwmin-value: Specifies the ECWmin parameter of EDCA, which is in the range of 0 to 15.
ecwmax-value: Specifies the ECWmax parameter of EDCA, which is in the range of 0 to 15.
txoplimit-value: Specifies the TXOPLimit parameter of EDCA, which is in the range of 0 to 65535 (in units of 32 microseconds). The TXOP value of 0 indicates that only one MPDU can be transmitted.
Usage guidelines
For a description of each EDCA parameter, see WLAN Configuration Guide.
ECWmin must not be greater than ECWmax. The two parameters must be enabled or disabled simultaneously.
When all the clients are 802.11b terminals, H3C recommends that you set the TXOPLimit value to 0 for both the AC-BK and AC-BE queues.
If both 802.11b and 802.11g clients are present, H3C recommends that you use the default TXOPLimit settings for the AC-BK and AC-BE queues.
Examples
# Set AIFSN to 3 for the AC-BE queue.
<Sysname> system-view
[Sysname] wlan radio-policy radio1
[Sysname-wlan-rp-radio1] wmm edca client ac-be aifsn 5
wmm enable
Use wmm enable to enable the WMM function.
Use undo wmm enable to disable the WMM function.
Syntax
wmm enable
undo wmm enable
Default
The WMM function is enabled.
Views
Radio-policy view
Default command level
2: System level
Usage guidelines
The 802.11n protocol stipulates that all 802.11n clients support WLAN QoS. Therefore, when the radio operates in 802.11an or 802.11gn mode, you should enable WMM. Otherwise, the associated 802.11n clients will operate in 802.11a or 802.11g mode.
Examples
# Disable the WMM function.
<Sysname> system-view
[Sysname] wlan radio-policy radio1
[Sysname-wlan-rp-radio1] undo wmm enable
wmm svp map-ac
Use wmm svp map-ac to map SVP packets to a specific AC queue.
Use undo wmm svp map-ac to restore the default.
Syntax
wmm svp map-ac { ac-vo | ac-vi | ac-be | ac-bk }
undo wmm svp map-ac
Default
SVP packet mapping is disabled.
Views
Radio-policy view
Default command level
2: System level
Parameters
ac-vo: Specifies the AC-VO (voice traffic) queue.
ac-vi: Specifies the AC-VI (video traffic) queue.
ac-be: Specifies the AC-BE (best-effort traffic) queue.
ac-bk: Specifies the AC-BK (background traffic) queue.
Usage guidelines
H3C recommends that you map SVP packets to the AC-VO queue in normal cases.
Examples
# Map SVP packets to the AC-VO queue.
<Sysname> system-view
[Sysname] wlan radio-policy radio1
[Sysname-wlan-rp-radio1] wmm svp map-ac ac-vo