- Table of Contents
-
- 14-WLAN Command Reference (AC)
- 00-Preface
- 01-Compatibility of hardware and AC functionality
- 02-AP management commands
- 03-Radio management commands
- 04-WLAN access commands
- 05-WLAN security commands
- 06-WLAN authentication commands
- 07-WIPS commands
- 08-WLAN QoS commands
- 09-WLAN roaming commands
- 10-WLAN load balancing commands
- 11-WLAN radio resource measurement commands
- 12-Channel scanning commands
- 13-Band navigation commands
- 14-WLAN multicast optimization commands
- 15-WLAN RRM commands
- 16-WLAN IP snooping commands
- 17-WLAN probe commands
- 18-Spectrum management commands
- Related Documents
-
Title | Size | Download |
---|---|---|
08-WLAN QoS commands | 129.51 KB |
bandwidth-guarantee service-template
client-rate-limit (radio view/AP group's radio view)
client-rate-limit (service template view)
client-rate-limit { disable | enable }
WLAN QoS commands
For information about MSR routers that can function as ACs, see "Compatibility of hardware and AC functionality."
bandwidth-guarantee
Use bandwidth-guarantee enable to enable bandwidth guaranteeing.
Use bandwidth-guarantee disable to disable bandwidth guaranteeing.
Use undo bandwidth-guarantee to restore the default.
Syntax
bandwidth-guarantee { disable | enable }
undo bandwidth-guarantee
Default
In radio view, if the service template setting in AP group view is used, a radio uses the configuration in an AP group's radio view. If a service template is manually bound to a radio, bandwidth guaranteeing is disabled.
In an AP group's radio view, bandwidth guaranteeing is disabled.
Views
Radio view
AP group's radio view
Predefined user roles
Usage guidelines
This command enables clients that are associated with the same radio to get the guaranteed bandwidth when the network is congested. To set the guaranteed bandwidth, use the bandwidth-guarantee service-template command.
The configuration in radio view takes precedence over the configuration in an AP group's radio view.
Examples
# Enable bandwidth guaranteeing for AP ap1.
<Sysname> system-view
[Sysname] wlan ap ap1 model WA4320i-ACN
[Sysname-wlan-ap-ap1] radio 1
[Sysname-wlan-ap-ap1-radio-1] service-template 1
[Sysname-wlan-ap-ap1-radio-1] bandwidth-guarantee enable
# Enable bandwidth guaranteeing for AP group apgroup1.
<Sysname> system-view
[Sysname] wlan ap-group apgroup1
[Sysname-wlan-ap-group-apgroup1] ap-model WA4320i-ACN
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN] radio 1
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN-radio-1] bandwidth-guarantee enable
Related commands
bandwidth-guarantee service-template
bandwidth-guarantee service-template
Use bandwidth-guarantee service-template to set a guaranteed bandwidth percentage for the specified service template.
Use undo bandwidth-guarantee service-template to cancel the guaranteed bandwidth percentage configuration for the specified service template.
Syntax
bandwidth-guarantee service-template service-template-name percent percent
undo bandwidth-guarantee { all | service-template service-template-name }
Default
In an AP group's radio view, no guaranteed bandwidth percentage is set for a service template.
Views
Radio view
AP group's radio view
Predefined user roles
network-admin
Parameters
service-template service-template-name: Specifies a service template by its name, a case-insensitive string of 1 to 63 characters. Make sure the specified service template has been bound to the radio/radio interface.
percent percent: Specifies the percentage of the guaranteed bandwidth to the total bandwidth. The value range for the percent argument is 1 to 100. The total bandwidth represents the maximum bandwidth of the radio. The guaranteed bandwidth represents the minimum bandwidth for the BSS corresponding to the service template.
all: Specifies all service templates.
Usage guidelines
For this command to take effect, make sure the bandwidth guaranteeing feature is enabled.
For all service templates bound to the same radio, the sum of the guaranteed bandwidth percentages cannot exceed 100%.
The configuration in radio view takes precedence over the configuration in an AP group's radio view.
Examples
# Set the guaranteed bandwidth percentage to 30% for service template 1 in radio view.
<Sysname> system-view
[Sysname] wlan ap ap1 model WA4320i-ACN
[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
[Sysname-wlan-ap-ap1-radio-1] bandwidth-guarantee enable
# Set the guaranteed bandwidth percentage to 30% for service template 1 in an AP group's radio view.
<Sysname> system-view
[Sysname] wlan ap-group apgroup1
[Sysname-wlan-ap-group-apgroup1] ap-model WA4320i-ACN
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN] radio 1
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN-radio-1] bandwidth-guarantee enable
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN-radio-1] service-template 1
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN-radio-1] bandwidth-guarantee service-template 1 percent 30
Related commands
bandwidth-guarantee
wlan max-bandwidth
cac policy
Use cac policy to configure a Connect Admission Control (CAC) policy.
Use undo cac policy to restore the default.
Syntax
cac policy { channelutilization [ channelutilization-value ] | client [ client-number ] }
undo cac policy
Default
In radio view, a radio uses the configuration in an AP group's radio view.
In an AP group's radio view, the client-based admission policy is used, and the maximum number of admitted clients is 20.
Views
Radio view
AP group's radio view
Predefined user roles
network-admin
Parameters
channelutilization: Specifies the channel usage-based admission policy.
channelutilization-value: Specifies the maximum channel hold time allowed for AC-VO and AC-VI queues in percentage, in the range of 0 to 100. By default, the maximum channel hold time is 65%.
client: Specifies the client-based admission policy.
client-number: Specifies the maximum number of clients allowed to be connected, in the range of 0 to 124. A client is counted as one client if it is using both the AC-VO and AC-VI queues.
Usage guidelines
A CAC policy takes effect only on AC-VO and AC-VI queues.
The configuration in radio view takes precedence over the configuration in an AP group's radio view.
Examples
# Configure a channel usage-based admission policy for CAC, and set the maximum channel hold time to 70%.
<Sysname> system-view
[Sysname] wlan ap ap1 model WA4320i-ACN
[Sysname-wlan-ap-ap1] radio 1
[Sysname-wlan-ap-ap1-radio-1] cac policy channelutilization 70
# Configure a channel usage-based admission policy for CAC, and set the maximum channel hold time to 70% for AP group apgroup1.
<Sysname> system-view
[Sysname] wlan ap-group apgroup1
[Sysname-wlan-ap-group-apgroup1] ap-model WA4320i-ACN
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN] radio 1
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN-radio-1] cac policy channelutilization 70
client-rate-limit (radio view/AP group's radio view)
Use client-rate-limit to configure radio-based client rate limiting.
Use undo client-rate-limit to restore the default.
Syntax
client-rate-limit { inbound | outbound } mode { dynamic cir cir [ min min-cir ] [ max max-cir ] | static cir cir }
undo client-rate-limit { inbound | outbound }
Default
In radio view, a radio uses the configuration in an AP group's radio view.
In an AP group's radio view, radio-based client rate is not limited.
Views
Radio view
AP group's radio view
Predefined user roles
network-admin
Parameters
inbound: Limits the rate of incoming traffic.
outbound: Limits the rate of outgoing traffic.
dynamic: Specifies the dynamic rate limit mode. In this mode, the maximum rate for each client is the total maximum rate divided by the number of clients.
static: Specifies the static rate limit mode. The maximum rate for each client is fixed.
cir cir: Specifies the CIR in Kbps. The value range for the cir argument is 16 to 1700000. This option sets the maximum rate for each client in static rate limit mode and sets the total maximum rate for all clients in dynamic rate limit mode.
min min-cir: Specifies the minimum CIR for a client, in the range of 16 to 1700000 Kbps.
max max-cir: Specifies the maximum CIR for a client, in the range of 16 to 1700000 Kbps. The maximum CIR must be larger than the minimum CIR.
Usage guidelines
For this command to take effect, make sure radio-based client rate limiting is enabled.
You can repeat this command multiple times to limit the rates of both the incoming and outgoing traffic.
If you specify both the minimum and maximum CIRs for dynamic rate limit, the feature operates as follows:
· If the specified CIR divided by the total number of clients is smaller than the minimum CIR, the minimum CIR takes effect for each client.
· If the specified CIR divided by the total number of clients is larger than the maximum CIR, the maximum CIR takes effect for each client.
· If the specified CIR divided by the total number of clients is between the minimum and maximum CIRs, the specified CIR divided by the total number of clients takes effect for each client.
The configuration in radio view takes precedence over the configuration in an AP group's radio view.
Examples
# Configure client rate limiting for radio 1 in radio view: set the CIR to 567 Kbps for incoming traffic of each client and set the CIR to 89 Kbps for outgoing traffic of all clients.
<Sysname> system-view
[Sysname] wlan ap ap1 model WA4320i-ACN
[Sysname-wlan-ap-ap1] radio 1
[Sysname-wlan-ap-ap1-1] client-rate-limit enable
[Sysname-wlan-ap-ap1-1] client-rate-limit inbound mode static cir 567
[Sysname-wlan-ap-ap1-1] client-rate-limit outbound mode dynamic cir 89
# Configure client rate limiting for radio 1 in an AP group's radio view: set the CIR to 567 Kbps for incoming traffic of each client and set the CIR to 89 Kbps for outgoing traffic of all clients.
<Sysname> system-view
[Sysname] wlan ap-group apgroup1
[Sysname-wlan-ap-group-apgroup1] ap-model WA4320i-ACN
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN] radio 1
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN-radio-1] client-rate-limit enable
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN-radio-1] client-rate-limit inbound mode static cir 567
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN-radio-1] client-rate-limit outbound mode dynamic cir 89
client-rate-limit (service template view)
Use client-rate-limit to configure service-template-based client rate limiting.
Use undo client-rate-limit to restore the default.
Syntax
client-rate-limit { inbound | outbound } mode { dynamic cir cir [ min min-cir ] [ max max-cir ] | static cir cir } [ cbs cbs ]
undo client-rate-limit { inbound | outbound }
Default
Service-template-based client rate is not limited.
Views
Service template view
Predefined user roles
network-admin
Parameters
inbound: Limits the rate of incoming traffic.
outbound: Limits the rate of outgoing traffic.
dynamic: Specifies the dynamic rate limit mode. In this mode, the maximum rate for each client is the total maximum rate divided by the number of clients.
cir cir: Specifies the CIR in Kbps. The value range for the cir argument is 16 to 1700000. This option sets the maximum rate for each client in static rate limit mode and sets the total maximum rate for all clients in dynamic rate limit mode.
min min-cir: Specifies the minimum CIR for a client, in the range of 16 to 1700000 Kbps.
max max-cir: Specifies the maximum CIR for a client, in the range of 16 to 1700000 Kbps.
static: Specifies the static rate limit mode. The maximum rate for each client is fixed.
cbs cbs: Specifies the CBS in bytes. The value range for the cbs argument is 1 to 268435456. If you do not specify this option, the value of CBS is automatically calculated from the value of CIR.
Usage guidelines
You can repeat this command multiple times to limit the rates of both the incoming and outgoing traffic.
Examples
# Configure rate limiting for service template 1: set the CIR to 567 Kbps for each client's incoming traffic.
<Sysname> system-view
[Sysname] wlan service-template 1
[Sysname-wlan-st-1] client-rate-limit inbound mode static cir 567
client-rate-limit { disable | enable }
Use client-rate-limit enable to enable radio-based client rate limiting.
Use client-rate-limit disable to disable radio-based client rate limiting.
Use undo client-rate-limit to restore the default.
Syntax
client-rate-limit { disable | enable }
undo client-rate-limit
Default
In radio view, a radio uses the configuration in an AP group's radio view.
In an AP group's radio view, radio-based client rate limiting is disabled.
Views
Radio view
AP group's radio view
Predefined user roles
network-admin
Usage guidelines
This command limits the traffic rate of the WLAN clients associated with a radio. To set the rate limit direction and rate limit, use the client-rate-limit { inbound | outbound } command.
You can configure different rate limit methods and rate limit modes for client rate limiting, and all settings take effect. The minimum value among these settings will apply to each client.
The configuration in radio view takes precedence over the configuration in an AP group's radio view.
Examples
# Enable client rate limiting for radio 1 of AP ap1.
<Sysname> system-view
[Sysname] wlan ap ap1 model WA4320i-ACN
[Sysname-wlan-ap-ap1] radio 1
[Sysname-wlan-ap-ap1-radio-1] client-rate-limit enable
# Enable client rate limiting for radio 1 of AP group apgroup1.
<Sysname> system-view
[Sysname] wlan ap-group apgroup1
[Sysname-wlan-ap-group-apgroup1] ap-model WA4320i-ACN
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN] radio 1
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN-radio-1] client-rate-limit enable
Related commands
client-rate-limit (radio view/AP group's radio view)
display wlan wmm
Use display wlan wmm to display WMM statistics.
Syntax
display wlan wmm { client [ ap ap-name | mac-address mac-address ] | radio [ ap ap-name ] }
Views
Any view
Predefined user roles
Parameters
client: Displays WMM statistics for clients. If you use this keyword without the ap ap-name or mac-address mac-address option, this command displays WMM statistics for all clients.
radio: Displays WMM statistics for radios. If you use this keyword without the ap ap-name option, this command displays WMM statistics for all radios.
ap ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).
mac-address mac-address: Specifies a client by its MAC address in the H-H-H format.
Examples
# Display WMM statistics for all radios.
<Sysname> display wlan wmm radio
AP ID : 4 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 medium time(µ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 medium time : 0
Calls rejected due to invalid delay bound : 0
Radio : 2
Client EDCA updates : 0
QoS mode : WMM
WMM status: Disabled
Radio max AIFSN : 15 Radio max ECWmin : 10
Radio max TXOPLimit : 32767 Radio max ECWmax : 10
CAC information
Client accepted : 0
Voice : 0
Video : 0
Total request medium time(µ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 medium time : 0
Calls rejected due to invalid delay bound : 0
Table 1 Command output
Description |
|
Times that client EDCA parameters have been updated. |
|
WMM. If this field displays N/A, the QoS mode is not available. |
|
· Enabled. · Disabled. |
|
Maximum AIFSN that the radio supports. |
|
Maximum ECWmin that the radio supports. |
|
Radio max TXOPLimit |
Maximum TXOPLimit that the radio supports. |
Maximum ECWmax that the radio supports. |
|
Total request medium time for AC-VO and AC-VI queues, in microseconds. |
# Display WMM statistics for all clients.
<Sysname> display wlan wmm client
MAC address : 000f-e23c-0001 SSID : service
QoS mode : WMM
APSD information :
Max SP length : 7
L: Legacy T: Trigger D: Delivery
AC AC-BK AC-BE AC-VI AC-VO
Assoc State T|D L T|D T|D
Statistics information :
Uplink packets : 0 Downlink packets : 0
Uplink bytes : 0 Downlink bytes : 0
Downgrade packets : 0 Discarded packets : 0
Downgrade bytes : 0 Discarded bytes : 0
TS information:
AC : AC-VO User priority : 7
TID : 1 Direction : Bidirectional
PSB : 0 Surplus bandwidth allowance : 1.0000
Medium time (µs) : 39 MSDU size (bytes) : 1500
Mean data rate (Kbps) : 10.000 Minimum PHY rate (Mbps) : 11.000
TS creation time : 0h:0m:5s
TS updating time : 0h:0m:5s
Uplink TS packets : 0 Downlink TS packets : 0
Uplink TS bytes : 0 Downlink TS bytes : 0
Table 2 Command output
Field |
Description |
QoS mode |
WMM. If this field displays N/A, the QoS mode is not available. |
Maximum service period (SP) length. |
|
· AC-VO. · AC-VI. · AC-BE. · AC-BK. |
|
Assoc state |
APSD attribute for 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. |
User priority for packets from wired networks. |
|
Traffic identifier, in the range of 0 to 15. |
|
Traffic direction: · Uplink. · Downlink. · Bidirectional. |
|
PSB |
Power save behavior: · 1—U-APSD power saving mode. · 0—Traditional power saving mode. |
Surplus bandwidth allowance |
Surplus bandwidth allowance in percentage. |
Permitted medium time in microseconds. |
|
MSDU size |
Average MSDU size in bytes. |
Average data transmission rate in Kbps. |
|
Minimum physical transmission rate in Mbps. |
Related commands
edca client (ac-be and ac-bk)
Use edca client to set EDCA parameters of AC-BE or AC-BK queues for clients.
Use undo edca client to restore the default.
Syntax
edca client { ac-be | ac-bk } { aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value } *
undo edca client { ac-be | ac-bk }
Default
In radio view, a radio uses the configuration in an AP group's radio view.
In an AP group's radio view, the default EDCA parameter values of AC-BE or AC-BK queues for clients are shown in Table 3.
Table 3 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 |
Views
Radio view
AP group's radio view
Predefined user roles
network-admin
Parameters
ac-be: Specifies the AC-BE (best-effort traffic) queue.
ac-bk: Specifies the AC-BK (background traffic) queue.
aifsn aifsn-value: Specifies the arbitration inter-frame spacing number (AIFSN), in the range of 1 to 15.
ecwmin ecwmin-value: Specifies the exponent form of CWmin (ECWmin), in the range of 0 to 15.
ecwmax ecwmax-value: Specifies the exponent form of CWmax (ECWmax), in the range of 0 to 15. The value of ECWmax cannot be smaller than the value of ECWmin.
txoplimit txoplimit-value: Specifies the transmission opportunity limit (TXOP Limit) value, in the range of 0 to 65535 (in units of 32 microseconds). If the value is 0, a client can send only one packet each time it holds the channel.
Usage guidelines
As a best practice, set the TXOP Limit value to 0 for both the AC-BE and AC-BK queues if all the clients are 802.11b clients.
As a best practice, use the default TXOPLimit values for both the AC-BK and AC-BE queues if both 802.11b and 802.11g clients exist in the WLAN.
The configuration in radio view takes precedence over the configuration in an AP group's radio view.
Examples
# Set the AIFSN to 5 for the AC-BE queue.
<Sysname> system-view
[Sysname] wlan ap ap1 model WA4320i-ACN
[Sysname-wlan-ap-ap1] radio 1
[Sysname-wlan-ap-ap1-radio-1] edca client ac-be aifsn 5
# Set the AIFSN to 5 for the AC-BE queue for AP group apgroup1.
<Sysname> system-view
[Sysname] wlan ap-group apgroup1
[Sysname-wlan-ap-group-apgroup1] ap-model WA4320i-ACN
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN] radio 1
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN-radio-1] edca client ac-be aifsn 5
edca client (ac-vi and ac-vo)
Use edca client to set EDCA parameters of AC-VI or AC-VO queues for clients.
Use undo edca client to restore the default.
Syntax
edca client { ac-vi | ac-vo } { aifsn aifsn-value | cac { disable | enable } | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value } *
undo edca client { ac-vi | ac-vo }
Default
In radio view, a radio uses the configuration in an AP group's radio view.
In an AP group's radio view, the default EDCA parameter values of AC-VI or AC-VO queues for clients are shown in Table 4.
Table 4 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 |
Views
Radio view
AP group's radio view
Predefined user roles
network-admin
Parameters
ac-vi: Specifies the AC-VI (video traffic) queue.
ac-vo: Specifies the AC-VO (voice traffic) queue.
aifsn aifsn-value: Specifies the arbitration inter-frame spacing number (AIFSN), in the range of 1 to 15.
cac: Specifies CAC. The AC-VO and AC-VI queues support CAC. CAC is disabled by default.
disable: Disables CAC.
enable: Enables CAC.
ecwmin ecwmin-value: Specifies the exponent form of CWmin (ECWmin), in the range of 0 to 15.
ecwmax ecwmax-value: Specifies the exponent form of CWmax (ECWmax), in the range of 0 to 15. The value of ECWmax cannot be smaller than the value of ECWmin.
txoplimit txoplimit-value: Specifies the transmission opportunity limit (TXOP Limit) value, in the range of 0 to 65535 (in units of 32 microseconds). If the value is 0, a client can send only one packet each time it holds the channel.
Usage guidelines
As a best practice, set the TXOPLimit value to 188 and 102 for the AC-VI and AC-VO queues, respectively when all the clients are 802.11b clients.
As a best practice, use the default TXOPLimit values for both the AC-VI and AC-VO queues if both 802.11b and 802.11g clients exist in the WLAN.
The configuration in radio view takes precedence over the configuration in an AP group's radio view.
Examples
# Set the AIFSN to 3 for the AC-VO queue.
<Sysname> system-view
[Sysname] wlan ap ap1 model WA4320i-ACN
[Sysname-wlan-ap-ap1] radio 1
[Sysname-wlan-ap-ap1-radio-1] edca client ac-vo aifsn 3
# Set the AIFSN to 3 for the AC-VO queue for AP group apgroup1.
<Sysname> system-view
[Sysname] wlan ap-group apgroup1
[Sysname-wlan-ap-group-apgroup1] ap-model WA4320i-ACN
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN] radio 1
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN-radio-1] edca client ac-vo aifsn 3
edca radio
Use edca radio to set EDCA parameters.
Use undo edca radio to restore the default.
Syntax
edca radio { ac-be | ac-bk | ac-vi | ac-vo } { ack-policy { noack | normalack } | aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax-value | noack | txoplimit txoplimit-value } *
undo edca radio { ac-be | ac-bk | ac-vi | ac-vo }
Default
In radio view, a radio uses the configuration in an AP group's radio view.
In an AP group's radio view, the default EDCA parameter values are shown in Table 5.
Table 5 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 |
Views
Radio view
AP group's radio view
Predefined user roles
network-admin
Parameters
ac-be: Specifies the AC-BE (best-effort traffic) queue.
ac-bk: Specifies the AC-BK (background traffic) queue.
ac-vi: Specifies the AC-VI (video traffic) queue.
ac-vo: Specifies the AC-VO (voice traffic) queue.
ack-policy: Specifies the ACK policy for the AC queue.
noack: Specifies the No ACK policy.
normalack: Specifies the Normal ACK policy (the default).
aifsn aifsn-value: Specifies the arbitration inter-frame spacing number (AIFSN), in the range of 1 to 15.
ecwmin ecwmin-value: Specifies the exponent form of CWmin (ECWmin) in the range of 0 to 10.
ecwmax ecwmax-value: Specifies the exponent form of CWmax (ECWmax) in the range of 0 to 10. The value of ECWmax cannot be smaller than the value of ECWmin.
txoplimit txoplimit-value: Specifies the transmission opportunity limit (TXOP Limit) value in units of 32 microseconds. The value range is 0 to 32767. If the value is 0, a client can send only one packet each time it holds the channel.
Usage guidelines
The configuration in radio view takes precedence over the configuration in an AP group's radio view.
Examples
# Set the AIFSN of the AC-VO queue to 2 in radio view of radio 2.
<Sysname> system-view
[Sysname] wlan ap ap1 model WA4320i-ACN
[Sysname-wlan-ap-ap1] radio 1
[Sysname-wlan-ap-ap1-radio-1] edca radio ac-vo aifsn 2
# Set the AIFSN of the AC-VO queue to 2 in radio view of radio 2 for AP group apgroup1.
[Sysname] wlan ap-group apgroup1
[Sysname-wlan-ap-group-apgroup1] ap-model WA4320i-ACN
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN] radio 1
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN-radio-1] edca radio ac-vo aifsn 2
qos priority
Use qos priority to set the port priority.
Use undo qos priority to restore the default.
Syntax
qos priority priority
Default
The port priority is 0.
Views
Service template view
Predefined user roles
Parameters
priority: Specifies the port priority in the range of 0 to 7. A larger value represents a higher priority.
Usage guidelines
When the port trust mode is enabled, an AP assigns the port priority to all packets for the service template.
This command does not take effect when the packet trust mode is enabled.
Examples
# Set the port priority to 2 for service template 1.
[Sysname] wlan service-template 1
[Sysname-wlan-st-1] qos priority 2
Related commands
qos trust
Use qos trust to configure the trusted packet priority type.
Use undo qos trust to restore the default.
Syntax
qos trust { dot11e | dscp }
Default
The port priority is trusted.
Views
Service template view
Predefined user roles
Parameters
dot11e: Uses the 802.1e priority carried in packets for priority mapping.
dscp: Uses the DSCP priority carried in packets for priority mapping.
Usage guidelines
This feature takes effect only on uplink packets.
Examples
# Configure service template 1 to use the 802.1e priority carried in packets for priority mapping.
[Sysname] wlan service-template 1
[Sysname-wlan-st-1] qos trust dot11e
Related commands
reset wlan wmm
Use reset wlan wmm to clear WMM statistics.
Syntax
reset wlan wmm { client [ ap ap-name | mac-address mac-address ] | radio [ ap ap-name ] }
Views
User view
Predefined user roles
network-admin
Parameters
client: Clears WMM statistics for clients. If you use this keyword without the ap ap-name or mac-address mac-address option, this command clears WMM statistics for all clients.
radio: Clears WMM statistics for radios. If you use this keyword without the ap ap-name option, this command clears WMM statistics for all radios.
ap ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).
mac-address mac-address: Specifies a client by its MAC address in the H-H-H format.
Examples
# Clear WMM statistics for all radios.
<Sysname> reset wlan wmm radio
Related commands
svp map-ac
Use svp map-ac to map SVP packets to the specified AC queue.
Use svp map-ac disable to disable SVP mapping.
Use undo svp map-ac to restore the default.
Syntax
svp map-ac { ac-vi | ac-vo }
svp map-ac disable
undo svp map-ac
Default
In radio view, a radio uses the configuration in an AP group's radio view.
In an AP group's radio view, SVP mapping is disabled.
Views
Radio view
AP group's radio view
Predefined user roles
network-admin
Parameters
ac-vi: Specifies the AC-VI (video traffic) queue.
ac-vo: Specifies the AC-VO (voice traffic) queue.
Usage guidelines
SVP mapping takes effect only on non-WMM clients.
The configuration in radio view takes precedence over the configuration in an AP group's radio view.
Examples
# Map SVP packets to the AC-VO queue.
<Sysname> system-view
[Sysname] wlan ap ap1 model WA4320i-ACN
[Sysname-wlan-ap-ap1] radio 1
[Sysname-wlan-ap-ap1-radio-1] svp map-ac ac-vo
# Map SVP packets to the AC-VO queue for AP group apgroup1.
[Sysname] wlan ap-group apgroup1
[Sysname-wlan-ap-group-apgroup1] ap-model WA4320i-ACN
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN] radio 1
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN-radio-1] svp map-ac ac-vo
wlan client-rate-limit
Use wlan client-rate-limit to configure client-type-based client rate limiting.
Use undo wlan client-rate-limit to remove the configuration.
Syntax
wlan client-rate-limit { dot11a | dot11ac | dot11an | dot11b | dot11g | dot11gac | dot11gn } { inbound | outbound } cir cir [ cbs cbs ]
undo wlan client-rate-limit [ { dot11a | dot11ac | dot11an | dot11b | dot11g | dot11gac | dot11gn } [ inbound | outbound ] ]
Default
Client-type-based client rate is not limited.
Views
System view
Predefined user roles
network-admin
Parameters
dot11a: Specifies 802.11a clients.
dot11ac: Specifies 802.11ac clients.
dot11an: Specifies 802.11an clients.
dot11b: Specifies 802.11b clients.
dot11g: Specifies 802.11g clients.
dot11gac: Specifies 802.11gac clients.
dot11gn: Specifies 802.11gn clients.
inbound: Limits the rate of incoming traffic.
outbound: Limits the rate of outgoing traffic.
cir cir: Specifies the CIR in Kbps for each client. The value range for the cir argument is 1 to 2097152.
cbs cbs: Specifies the CBS in bytes for each client. The value range for the byte argument is 1 to 268435456. If you do not specify this option, the value of CBS is automatically calculated from the value of CIR.
Usage guidelines
You can configure different rate limit methods and rate limit modes for client rate limiting, and all settings take effect. The minimum value for the rate limit among these settings will apply to each client.
Examples
# Set the rate limit to 20480 Kbps for incoming traffic of 802.11an clients.
<Sysname> system-view
[Sysname] wlan client-rate-limit dot11an inbound cir 20480
wlan max-bandwidth
Use wlan max-bandwidth to set the maximum bandwidth for a radio mode.
Use undo wlan max-bandwidth to restore the default setting for one radio mode or for all radio modes.
Syntax
wlan max-bandwidth { dot11a | dot11ac | dot11an | dot11b | dot11g | dot11gac | dot11gn } bandwidth
undo wlan max-bandwidth [ dot11a | dot11ac | dot11an | dot11b | dot11g | dot11gac | dot11gn ]
Default
The following maximum bandwidth settings apply:
· 30000 Kbps for dot11a and dot11g.
· 250000 Kbps for dot11an, dot11gn, and dot11gac.
· 500000 Kbps for dot11ac.
· 7000 Kbps for dot11b.
Views
System view
Predefined user roles
network-admin
Parameters
dot11a: Specifies the 802.11a radio mode.
dot11ac: Specifies the 802.11ac radio mode.
dot11an: Specifies the 802.11an radio mode.
dot11b: Specifies the 802.11b radio mode.
dot11g: Specifies the 802.11g radio mode.
dot11gac: Specifies the 802.11gac radio mode.
dot11gn: Specifies the 802.11gn radio mode.
bandwidth: Specifies the maximum bandwidth in Kbps. The value range varies as follows depending on radio modes:
· 16 to 30000 for dot11a and dot11g.
· 16 to 250000 for dot11an, dot11gn, and dot11gac.
· 16 to 500000 for dot11ac.
· 16 to 7000 for dot11b.
Usage guidelines
The maximum bandwidth is used to calculate the guaranteed bandwidth.
Examples
# Set the maximum bandwidth to 2000 Kbps for 802.11ac.
<Sysname> system-view
[Sysname] wlan max-bandwidth dot11ac 2000
wmm
Use wmm enable to enable WMM.
Use wmm disable to disable WMM.
Use undo wmm to restore the default.
Syntax
wmm { disable | enable }
undo wmm
Default
In radio view, a radio uses the configuration in an AP group's radio view.
In an AP group's radio view, WMM is enabled.
Views
Radio view
AP group's radio view
Predefined user roles
network-admin
Usage guidelines
All 802.11n and 802.11ac clients must support WLAN QoS. For 802.11n or 802.11ac clients to communicate with the associated AP, enable WMM when the radio operates in 802.11an, 802.11gn, or 802.11ac mode.
The configuration in radio view takes precedence over the configuration in an AP group's radio view.
Examples
# Disable WMM.
[Sysname] wlan ap ap1 model WA4320i-ACN
[Sysname-wlan-ap-ap1] radio 1
[Sysname-wlan-ap-ap1-radio-1] wmm disable
# Disable WMM for AP group apgroup1.
[Sysname] wlan ap-group apgroup1
[Sysname-wlan-ap-group-apgroup1] ap-model WA4320i-ACN
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN] radio 1
[Sysname-wlan-ap-group-apgroup1-ap-model-WA4320i-ACN-radio-1] wmm disable