Title | Size | Download |
---|---|---|
06-WLAN QoS Commands | 76.91 KB |
1 WLAN QoS Configuration Commands
wmm edca client (ac-vo and ac-vi)
wmm edca client (ac-be and ac-bk)
l The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.
l Support of the H3C WA series WLAN access points (APs) for commands may vary by AP model. For more information, see Feature Matrix.
l The interface types and the number of interfaces vary by AP model.
display wlan wmm
Syntax
display wlan wmm { radio [ interface wlan-radio radio-number ] | client { all | interface wlan-radio radio-number | mac-address mac-address } }
View
Any view
Default Level
2: System level
Parameters
radio: Displays the Wi-Fi Multimedia (WMM) information of a specified or all radios.
wlan-radio radio-number: Displays the information of the clients attached to the specified WLAN-Radio interface.
client: Displays the WMM information of a specified or all clients.
all: Displays the information of all the clients.
mac-address mac-address: Specifies a client by its MAC address.
Description
Use the display wlan wmm radio command to display the WMM information of the clients attached to the specified or all radios.
Use the display wlan wmm client command to display the WMM information of the client identified by the specified MAC address, clients attached to a radio, or all clients.
Examples
# Display the WMM information of all radios.
<Sysname> display wlan wmm radio
--------------------------------------------------------------------------
Radio interface : WLAN-Radio1/0/1
--------------------------------------------------------------------------
Client EDCA update count : 25587704
QoS Mode : WMM Radio chip QoS mode : WMM
Radio chip max AIFSN : 255 Radio chip max ECWmin : 10
Radio chip max TXOPLimit : 32768 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
QoS Mode : WMM
Admission Control Policy : Users
Threshold users count : 20
CAC-Free's AC Request Policy : Response Success
CAC Unauthed Frame Policy : Downgrade
CAC Medium Time Limitation(us) : 100000
CAC AC-VO's Max Delay(us) : 50000
CAC AC-VI's Max Delay(us) : 300000
SVP packet mapped AC number : Disabled
Radio's WMM Parameters:
AC-BK AC-BE AC-VI AC-VO
ECWmin 4 4 3 2
ECWmax 10 6 4 3
AIFSN 7 3 1 1
TXOPLimit 0 0 94 47
AckPolicy Normal Normal Normal Normal
Client's WMM Parameters:
AC-BK AC-BE AC-VI AC-VO
ECWmin 4 4 3 2
ECWmax 10 10 4 3
AIFSN 7 3 2 2
TXOPLimit 0 0 94 47
CAC Disable Disable Disable Disable
--------------------------------------------------------------------------
Radio interface : WLAN-Radio1/0/2
--------------------------------------------------------------------------
Client EDCA update count : 25587704
QoS Mode : WMM Radio chip QoS mode : WMM
Radio chip max AIFSN : 255 Radio chip max ECWmin : 10
Radio chip max TXOPLimit : 32768 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
QoS Mode : WMM
Admission Control Policy : Users
Threshold users count : 20
CAC-Free's AC Request Policy : Response Success
CAC Unauthed Frame Policy : Downgrade
CAC Medium Time Limitation(us) : 100000
CAC AC-VO's Max Delay(us) : 50000
CAC AC-VI's Max Delay(us) : 300000
SVP packet mapped AC number : Disabled
Radio's WMM Parameters:
AC-BK AC-BE AC-VI AC-VO
ECWmin 4 4 3 2
ECWmax 10 6 4 3
AIFSN 7 3 1 1
TXOPLimit 0 0 94 47
AckPolicy Normal Normal Normal Normal
Client's WMM Parameters:
AC-BK AC-BE AC-VI AC-VO
ECWmin 4 4 3 2
ECWmax 10 10 4 3
AIFSN 7 3 2 2
TXOPLimit 0 0 94 47
CAC Disable Disable Disable Disable
--------------------------------------------------------------------------
Table 1-1 display wlan wmm radio command output description
Field |
Description |
Radio interface |
WLAN-Radio interface |
Client EDCA update count |
The number of client EDCA parameters updates |
QoS mode |
QoS mode: l WMM indicates that the WMM function is supported; l None indicates that the WMM function is not supported. |
Radio chip QoS mode |
Indicates whether the radio chip supports QoS |
Radio chip max AIFSN |
The maximum AIFSN allowed by the radio chip |
Radio chip max ECWmin |
The maximum ECWmin allowed by the radio chip |
Radio chip max TXOPLimit |
The maximum TXOPLimit allowed by the radio chip |
Radio chip max ECWmax |
The maximum ECWmax allowed by the radio chip |
Client accepted |
The number of stations that have been admitted to access the radio, including stations in voice and video queues |
Total request mediumtime(us) |
Requested medium time of all queues, including voice and video queues |
Calls rejected due to insufficient resource |
The number of requests rejected due to insufficient resources |
Calls rejected due to invalid parameters |
The number of requests rejected due to invalid parameters |
Calls rejected due to invalid mediumtime |
The number of requests rejected due to invalid medium time |
Calls rejected due to invalid delaybound |
The number of requests rejected due to invalid delay bound |
Admission Control Policy |
Admission control policy |
Threshold |
Threshold used by the admission control policy |
CAC-Free's AC Request Policy |
Response policy used for CAC-incapable ACs |
CAC Unauthed Frame Policy |
Policy of processing frames unauthorized by CAC |
CAC Medium Time Limitation(us) |
Maximum medium time allowed by the CAC policy (in microseconds) |
CAC AC-VO's Max Delay(us) |
Maximum voice traffic delay allowed by the CAC policy (in microseconds) |
CAC AC-VI's Max Delay(us) |
Maximum video traffic delay allowed by the CAC policy (in microseconds) |
SVP packet mapped AC number |
Number of the AC to which SVP packets are mapped |
ECWmin |
ECWmin value |
ECWmax |
ECWmax value |
AIFSN |
AIFSN value |
TXOPLimit |
TXOPLimit value |
Ack Policy |
ACK policy used by an AC |
CAC |
Indicates whether an AC is controlled by CAC. l Disabled indicates that the AC is not controlled by CAC. l Enabled indicates that the AC is controlled by CAC. |
# Display the WMM information of all clients.
<Sysname> display wlan wmm client all
--------------------------------------------------------------------
MAC address : 000f-e23c-0000 SSID : abd
QoS Mode : None
--------------------------------------------------------------------
MAC address : 000f-e23c-0001 SSID : abc
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 L
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 1-2 display wlan wmm client command output description
Field |
Description |
MAC address |
MAC address of a station |
SSID |
Service set ID (SSID) |
QoS Mode |
QoS mode: l WMM indicates that QoS mode is enabled; l None indicates that QoS mode is not enabled. |
Max SP length |
Maximum service period |
AC |
Access category |
State |
APSD attribute of an AC, which can be T, D, or L. T indicates that the AC is trigger-enabled; D indicates that the AC is delivery-enabled; T | D indicates that the AC is both trigger-enabled and delivery-enabled; L indicates that the AC is of legacy attributes. |
Assoc State |
APSD attributes of the ACs 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
Syntax
reset wlan wmm { radio [ interface wlan-radio radio-number ] | client { all | interface wlan-radio radio-number | mac-address mac-address } }
View
User view
Default Level
2: System level
Parameters
radio: Clears the WMM statistics information of radios.
interface wlan-radio radio-number: Clears the WMM statistics information of the radio interface or the clients attached to the specified radio interface.
client: Clears the WMM statistics information of clients.
all: Clears the WMM statistics information of all clients.
mac-address mac-address: Specifies a client by its MAC address.
Description
Use the reset wlan wmm radio command to clear the WMM information of the specified radio or all radios.
Use the reset wlan wmm client command to clear the WMM information of the client identified by the specified MAC address, of the clients associated with the specified radio, or of all clients.
l The reset wlan wmm radio interface wlan-radio command is used to clear the WMM information of the specified radio interface.
l The reset wlan wmm client interface wlan-radio command is used to clear the WMM information of the clients attached to the specified radio interface.
Examples
# Clear the WMM statistics information of all radios.
<Sysname> reset wlan wmm radio all
wmm cac policy
Syntax
wmm cac policy { channelutilization [ channelutilization-value ] | users [ users-number ] }
undo wmm cac policy
View
WLAN-radio interface view
Default Level
2: System level
Parameters
channelutilization: Uses the channel utilization-based admission policy for CAC.
channelutilization-value: Maximum channel utilization in percentage, 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. It is 65 by default. The valid time refers to the time available for transmitting and receiving data.
users: Uses the users-based admission policy for CAC.
users-number: Maximum number of clients allowed to be connected, which ranges from 0 to 64. This argument is 20 by default. A client is counted only once, even if it is using both AC-VO and AC-VI.
Description
Use the wmm cac policy command to configure the access control policy used for CAC.
Use the undo wmm cac policy command to restore the default.
By default, the users-based admission policy applies, with the maximum number of admitted users being 20.
Related commands: wmm edca client.
Examples
# Configure CAC to use the channel utilization-based admission policy, with the channel utilization rate being 70%.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] wmm cac policy channelutilization 70
wmm edca radio
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 }
View
WLAN-radio interface view
Default Level
2: System level
Parameters
ac-vo: Specifies AC-VO (voice traffic).
ac-vi: Specifies AC-VI (video traffic).
ac-be: Specifies AC-BE (best-effort traffic).
ac-bk: Specifies AC-BK (background traffic).
all: Specifies all the EDCA parameters of the specific AC.
noack: Specifies the AC to use the No ACK policy. The protocol defines two ACK policies: Normal ACK and No ACK.
txoplimit-value: TXOPLimit parameter of EDCA, which ranges from 0 to 65535 (in units of 32 microseconds). The TXOP value of 0 indicates that only one MPDU can be transmitted.
ecwmin-value: ECWmin parameter of EDCA, which ranges from 0 to 15.
ecwmax-value: ECWmax parameter of EDCA, which ranges from 0 to 15.
aifsn-value: AIFSN parameter of EDCA, which ranges from 1 to 15.
Description
Use the wmm edca radio command to set the EDCA parameters and specify the ACK policy for the specified AC of APs.
Use the undo wmm edca radio command to restore the default.
By default, Normal ACK is used, and the default EDCA parameters are as shown in Table 1-3.
Table 1-3 The default EDCA parameters for APs
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 |
l For description on each EDCA parameter, see WLAN QoS in the WLAN Configuration Guide.
l ECWmin must be no greater than ECWmax. The two parameters must be enabled or disabled simultaneously.
l When an AP uses 802.11b radio cards, it is recommended that you set TXOPLimit values of AC-BK, AC-BE, AC-VI, and AC-VO to 0, 0, 188, and 102.
Examples
# Set AIFSN to 2 for AC-VO of APs.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] wmm edca radio ac-vo aifsn 2
wmm edca client (ac-vo and ac-vi)
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 }
View
WLAN-radio interface view
Default Level
2: System level
Parameters
ac-vo: Specifies AC-VO (voice traffic).
ac-vi: Specifies AC-VI (video traffic).
all: Specifies all the EDCA parameters.
cac: Enables CAC on the client. AC-VO and AC-VI support CAC, which is disabled by default. AC-BE and AC-BK do not support CAC.
aifsn-value: AIFSN parameter of EDCA, which ranges from 2 to 15.
ecwmin-value: ECWmin parameter of EDCA, which ranges from 0 to 15.
ecwmax-value: ECWmax parameter of EDCA, which ranges from 0 to 15.
txoplimit-value: TXOPLimit parameter of EDCA, which ranges from 0 to 65535 (in units of 32 microseconds). The TXOP value of 0 indicates that only one MPDU can be transmitted.
Description
Use the wmm edca client command to set the EDCA parameters of AC-VO or AC-VI for the clients in a BSS.
Use the undo wmm edca client command to restore the default.
The following table lists the default EDCA parameters of AC-VI and AC-VO for clients.
Table 1-4 The default EDCA parameters for clients
AC |
AIFSN |
ECWmin |
ECWmax |
TXOP Limit |
AC-VI |
2 |
3 |
4 |
94 |
AC-VO |
2 |
2 |
3 |
47 |
l For description on each EDCA parameter, see WLAN QoS in the WLAN Configuration Guide.
l ECWmin must not be greater than ECWmax. The two parameters must be enabled or disabled simultaneously.
l When all the clients are 802.11b terminals, it is recommended that you set the TXOPLimit to 188 and 108 for AC-VI and AC-VO respectively.
l If both 802.11b and 802.11g clients are present, it is recommended that you use the default TXOPLimit settings in Table 1-4.
l IF CAC is enabled for an AC, CAC is also enabled for 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.
Examples
# Set AIFSN to 3 for AC-VO.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] wmm edca client ac-vo aifsn 3
wmm edca client (ac-be and ac-bk)
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 }
View
WLAN-radio interface view
Default Level
2: System level
Parameters
ac-be: Specifies AC-BE (best-effort traffic).
ac-bk: Specifies AC-BK (background traffic).
all: Specifies all the EDCA parameters.
aifsn-value: AIFSN parameter of EDCA, which ranges from 2 to 15.
ecwmin-value: ECWmin parameter of EDCA, which ranges from 0 to 15.
ecwmax-value: ECWmax parameter of EDCA, which ranges from 0 to 15.
txoplimit-value: TXOPLimit parameter of EDCA, which ranges from 0 to 65535 (in units of 32 microseconds). The TXOP value of 0 indicates that only one MPDU can be transmitted.
Description
Use the wmm edca client command to set the set of EDCA parameters for the specified AC (AC-BE or AC-BK) for clients.
Use the undo wmm edca client command to restore the default of the specified or all EDCA parameters for the specified AC.
The following table lists the default EDCA parameter settings for AC-BK and AC-BE for clients.
Table 1-5 The default EDCA parameter settings for clients
AC |
AIFSN |
ECWmin |
ECWmax |
TXOP Limit |
AC-BK |
7 |
4 |
10 |
0 |
AC-BE |
3 |
4 |
10 |
0 |
l For description on each EDCA parameter, see WLAN QoS in the WLAN Configuration Guide.
l ECWmin must not be greater than ECWmax. The two parameters must be enabled or disabled simultaneously.
l When all the clients are 802.11b terminals, it is recommended that you set the TXOPLimit value to 0 for both AC-BK and AC-BE.
l If both 802.11b and 802.11g clients are present, it is recommended that you use the default TXOPLimit settings for AC-BK and AC-BE.
Examples
# Set AIFSN to 3 for AC-VO.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] wmm edca client ac-vo aifsn 3
wmm enable
Syntax
wmm enable
undo wmm enable
View
WLAN-radio interface view
Default Level
2: System level
Parameters
None
Description
Use the wmm enable command to enable the WMM function.
Use the undo wmm enable command to disable the WMM function.
The WMM function is enabled by default.
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.
Examples
# Disable the WMM function.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] undo wmm enable
wmm svp map-ac
Syntax
wmm svp map-ac { ac-vo | ac-vi | ac-be | ac-bk }
undo wmm svp map-ac
View
WLAN-radio interface view
Default 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.
Description
Use the wmm svp map-ac command to map SVP packets to a specific AC.
Use the undo svp map-ac command to restore the default.
By default, SVP packet mapping is disabled.
It is recommended that you map SVP packets to AC-VO in normal cases.
Examples
# Map SVP packets to AC-VO.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] wmm svp map-ac ac-vo