02-WLAN

HomeSupportResource CenterH3C Access Controllers Command References(E5208P03 E5215P01 R5215P01)-6W10202-WLAN
07-WLAN QoS commands
Title Size Download
07-WLAN QoS commands 95.66 KB

WLAN QoS commands

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, an AP uses the configuration in AP group view.

·     If a service template is manually bound to a radio, bandwidth guaranteeing is disabled.

In AP group radio view, bandwidth guaranteeing is disabled.

Views

Radio view

AP group radio view

Predefined user roles

network-admin

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 AP group 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 radio view:

·     If the service template setting in AP group view is used, an AP uses the configuration in AP group view.

·     If a service template is manually bound to a radio, no guaranteed bandwidth percentage is set for the service template.

In AP group radio view, no guaranteed bandwidth percentage is set for a service template.

Views

Radio view

AP group 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.

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 AP group 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 AP group 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 enable

·     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, an AP uses the configuration in AP group view.

In AP group radio view, the client-based admission policy is used, and the maximum number of admitted clients is 20.

Views

Radio view

AP group radio view

Predefined user roles

network-admin

Parameters

channelutilization: Specifies the channel usage-based admission policy.

channelutilization-value: Specifies the maximum channel usage in percentage, in the range of 0 to 100. The maximum channel usage refers to the medium time of the accepted AC-VO and AC-VI traffic to the valid time within a certain time. The valid time refers to the time available for transmitting and receiving data. By default, the maximum channel usage 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 64. A client is counted as one client if it is using both the AC-VO and AC-VI queues.

Usage guidelines

The configuration in radio view takes precedence over the configuration in AP group radio view.

The CAC policy takes effect only on the AC-VO and the AC-VI queues.

Examples

# Configure the channel usage-based admission policy for CAC, and set the maximum channel usage 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 the channel usage-based admission policy for CAC, and set the maximum channel usage 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 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 | static } cir cir

undo client-rate-limit { inbound | outbound }

Default

In radio view, an AP uses the configuration in AP group view.

In AP group radio view, radio-based client rate limiting is not configured.

Views

Radio view

AP group 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.

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.

The configuration in radio view takes precedence over the configuration in AP group 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 AP group 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

Related commands

client-rate-limit { disable | enable }

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 | static } cir cir

undo client-rate-limit { inbound | outbound }

Default

Service-template-based client rate limiting is not configured.

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.

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.

Usage guidelines

For this command to take effect, make sure service-template-based client rate limiting is enabled.

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 enable

[Sysname-wlan-st-1] client-rate-limit inbound mode static cir 567

Related commands

client-rate-limit enable

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, an AP uses the configuration in AP group view.

In AP group radio view, radio-based client rate limiting is disabled.

Views

Radio view

AP group radio view

Predefined user roles

network-admin

Usage guidelines

This command limits the traffic rate of the WLAN clients associated with the radio. To set the rate limit direction and rate limit rate, use the client-rate-limit command.

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.

The configuration in radio view takes precedence over the configuration in AP group 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 radio view)

client-rate-limit enable

Use client-rate-limit enable to enable service-template-based client rate limiting.

Use undo client-rate-limit enable to restore the default.

Syntax

client-rate-limit enable

undo client-rate-limit enable

Default

Service-template-based client rate limiting is disabled.

Views

Service template view

Predefined user roles

network-admin

Usage guidelines

This command limits the traffic rate of the WLAN clients associated with the service template. To set the rate limit direction and rate limit rate, use the client-rate-limit command.

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

# Enable client rate limiting for service template 1.

<Sysname> system-view

[Sysname] wlan service-template 1

[Sysname-wlan-st-1] client-rate-limit enable

Related commands

client-rate-limit (service template view)

display wlan wmm

Use display wlan wmm radio to display WMM statistics for radios.

Use display wlan wmm client to display WMM statistics for clients.

Syntax

display wlan wmm { radio { all | ap ap-name } | client { all | ap ap-name | mac-address mac-address } }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

all: Specifies all radios or all clients.

ap ap-name: Specifies an AP by its name, a case-insensitive 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 radios of AP test.

<Sysname> display wlan wmm radio ap test

AP ID : 4    AP name : test

 

Radio : 1

Client EDCA updates : 0

QoS mode : WMM

WMM status : Enabled

Radio max AIFSN     : 15                  Radio max ECWmin : 10

Radio max TXOPLimit : 32767               Radio max ECWmax : 10

CAC information

Clients accepted                     : 0

  Voice                              : 0

  Video                              : 0

Total request mediumtime(µs)         : 0

  Voice(µs)                          : 0

  Video(µs)                          : 0

Calls rejected due to insufficient resources  : 0

Calls rejected due to invalid parameters      : 0

Calls rejected due to invalid mediumtime      : 0

Calls rejected due to invalid delaybound      : 0

 

Radio : 2

Client EDCA updates : 0

QoS mode : WMM

WMM status: Disabled

Radio max AIFSN     : 15                  Radio max ECWmin : 10

Radio max TXOPLimit : 32767               Radio max ECWmin : 10

CAC information

Client accepted                      : 0

  Voice                              : 0

  Video                              : 0

Total request mediumtime(µs)         : 0

  Voice(µs)                          : 0

  Video(µs)                          : 0

Calls rejected due to insufficient resources  : 0

Calls rejected due to invalid parameters      : 0

Calls rejected due to invalid mediumtime      : 0

Calls rejected due to invalid delaybound      : 0

Table 1 Command output

Field

Description

Client EDCA updates

Times that client EDCA parameters have been updated.

QoS mode

·     WMM.

WMM status

·     Enabled.

·     Disabled.

Radio max AIFSN

Maximum AIFSN that the radio supports.

Radio max ECWmin

Maximum ECWmin that the radio supports.

Radio max TXOPLimit

Maximum TXOPLimit that the radio supports.

Radio max ECWmax

Maximum ECWmax that the radio supports.

Total request mediumtime

Total request medium time for AC-VO and AC-VI queues, in microseconds.

 

# Display WMM statistics for all clients.

<Sysname> display wlan wmm client all

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 represents the QoS mode.

If the QoS mode is not available, this field displays N/A.

Max SP length

Maximum service period (SP) length.

AC

·     AC-VO.

·     AC-VI.

·     AC-BE.

·     AC-BK.

Assoc state

APSD attribute for an AC queue:

·     TThe AC queue is trigger-enabled.

·     DThe AC queue is delivery-enabled.

·     T | DThe AC queue is both trigger-enabled and delivery-enabled.

·     LThe AC queue is of legacy attributes.

User priority

User priority for packets from wired networks.

TID

Traffic identifier, in the range of 0 to 15.

Direction

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.

Medium time

Permitted medium time in microseconds.

MSDU size

Average MSDU size in bytes.

Mean data rate

Average data transmission rate in Kbps.

Minimum PHY rate

Minimum physical transmission rate in Mbps.

 

Related commands

reset wlan wmm

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, an AP uses the configuration in AP group view.

In AP group 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 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.

noack: Configures the AC queue to use the No ACK policy. By default, the No ACK policy is used.

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

The configuration in radio view takes precedence over the configuration in AP group radio view.

If all the clients are 802.11b clients, H3C recommends that you set the TXOP Limit value to 0 for both the AC-BE and AC-BK queues.

If both 802.11b and 802.11g clients exist in the WLAN, H3C recommends that you use the default TXOPLimit values for both the AC-BK and AC-BE queues.

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, an AP uses the configuration in AP group view.

In AP group 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 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

The configuration in radio view takes precedence over the configuration in AP group radio view.

When all the clients are 802.11b clients, H3C recommends that you set the TXOPLimit value to 188 and 102 for the AC-VI and AC-VO queues, respectively.

If both 802.11b and 802.11g clients exist in the WLAN, H3C recommends that you use the default TXOPLimit values for both the AC-VI and AC-VO queues.

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, an AP uses the configuration in AP group view.

In AP group radio view, the default EDCA parameter values are shown in Table 5.

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 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 (the default).

normalack: Specifies the Normal ACK policy.

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). The value range for the ecwmin-value argument is 0 to 10.

ecwmax ecwmax-value: Specifies the exponent form of CWmax (ECWmax). The value range for the ecwmax-value argument is 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 for the txoplimit-value argument 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 AP group radio view.

For 802.11b radios, H3C recommends that you set TXOP Limit values for AC-BK, AC-BE, AC-VI, and AC-VO queues to 0, 0, 188, and 102, respectively.

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> 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 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-value

undo qos priority

Default

The port priority is 0.

Views

Service template view

Predefined user roles

network-admin

Parameters

priority-value: 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> system

[Sysname] wlan service-template 1

[Sysname-wlan-st-1] qos priority 2

Related commands

qos trust

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 }

undo qos trust

Default

The port priority is trusted.

Views

Service template view

Predefined user roles

network-admin

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> system

[Sysname] wlan service-template 1

[Sysname-wlan-st-1] qos trust dot11e

Related commands

qos priority

reset wlan wmm

Use reset wlan wmm to clear WMM statistics.

Syntax

reset wlan wmm { client { all | ap ap-name | mac-address mac-address } | radio { all | ap ap-name } }

Views

User view

Predefined user roles

network-admin

Parameters

client: Clears WMM statistics for clients.

all: Clears 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. 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.

radio: Clears WMM statistics for radios.

Examples

# Clear WMM statistics for all radios.

<Sysname> reset wlan wmm radio all

Related commands

display wlan wmm

svp map-ac

Use svp map-ac to enable SVP mapping 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, an AP uses the configuration in AP group view.

In AP group radio view, SVP mapping is disabled.

Views

Radio view

AP group 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 AP group 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> 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] 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 limiting is not configured.

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 byte: 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 type.

Use undo wlan max-bandwidth to restore the default setting for a radio type or default settings for all radio types.

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 types:

·     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, an AP uses the configuration in AP group view.

In AP group radio view, WMM is enabled.

Views

Radio view

AP group radio view

Predefined user roles

network-admin

Parameters

disable: Disables WMM.

enable: Enables WMM.

Usage guidelines

The configuration in radio view takes precedence over the configuration in AP group radio view.

All 802.11n clients must support WLAN QoS. For 802.11n clients to communicate with the associated AP, enable WMM when the radio operates in 802.11an or 802.11gn mode.

Examples

# Disable WMM.

<Sysname> system-view

[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> 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] wmm disable