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

ACs:

· In radio view:

?span style='font:7.0pt "Times New Roman"'> If the service template setting in AP group view is used, the AP uses the configuration in AP group radio view.

?span style='font:7.0pt "Times New Roman"'> If a service template is manually bound to the radio, bandwidth guaranteeing is disabled.

· In AP group radio view, bandwidth guaranteeing is disabled.

Fat APs:

Bandwidth guaranteeing is disabled.

Views

ACs:

Radio view

AP group radio view

Fat APs:

Radio interface view

Predefined user roles

network-admin

mdc-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.

On ACs, the configuration in radio view takes precedence over the configuration in AP group radio view.

Examples

# (ACs.) 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

# (ACs.) 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

# (Fat APs.) Enable bandwidth guaranteeing.

<Sysname> system-view

[Sysname] interface wlan-radio 1/0/1

[Sysname-WLAN-Radio1/0/1] service-template 1

[Sysname-WLAN-Radio1/0/1] bandwidth-guarantee enable

Related commands

bandwidth-guarantee service-template

WLAN QoS commands -- 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

ACs:

· In radio view:

?span style='font:7.0pt "Times New Roman"'> If the service template setting in AP group view is used, the AP uses the configuration in AP group radio view.

?span style='font:7.0pt "Times New Roman"'> If a service template is manually bound to the radio, no guaranteed bandwidth percentage is set for the service template.

· In AP group radio view, a service template does not have a guaranteed bandwidth.

Fat APs:

A service template does not have a guaranteed bandwidth.

Views

ACs:

Radio view

AP group radio view

Fat APs:

Radio interface view

Predefined user roles

network-admin

mdc-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%.

On ACs, the configuration in radio view takes precedence over the configuration in AP group radio view.

Examples

# (ACs.) 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

# (ACs.) 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

# (Fat APs.) Set the guaranteed bandwidth percentage to 30% for service template 1.

<Sysname> system-view

[Sysname] interface wlan-radio 1/0/1

[Sysname-WLAN-Radio1/0/1] service-template 1

[Sysname-WLAN-Radio1/0/1] bandwidth-guarantee enable

[Sysname-WLAN-Radio1/0/1] bandwidth-guarantee service-template 1 percent 30

Related commands

bandwidth-guarantee

wlan max-bandwidth

WLAN QoS commands -- 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

ACs:

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

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

Fat APs:

The client-based admission policy is used, and the maximum number of admitted clients is 20.

Views

ACs:

Radio view

AP group radio view

Fat APs:

Radio interface view

Predefined user roles

network-admin

mdc-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 124.

Usage guidelines

On ACs, 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

# (ACs.) 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

# (ACs.) 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

# (Fat APs.) Configure the channel usage-based admission policy for CAC, and set the maximum channel usage to 70%.

<Sysname> system-view

[Sysname] interface wlan-radio 1/0/1

[Sysname-WLAN-Radio1/0/1] cac policy channelutilization 70

WLAN QoS commands -- client-rate-limit (radio view/AP group radio view) (on ACs)

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

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

Views

Radio view

AP group radio view

Predefined user roles

network-admin

mdc-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 300000. 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.

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

You can repeat this command multiple times to limit the rates of both the incoming and outgoing traffic.

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 enable { disable | enable }

WLAN QoS commands -- 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 is not limited.

Views

Service template view

Predefined user roles

network-admin

mdc-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 300000. 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

WLAN QoS commands -- client-rate-limit { disable | enable } (on ACs)

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, the AP uses the configuration in AP group radio 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

mdc-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 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)

WLAN QoS commands -- 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

mdc-admin

Usage guidelines

This command limits the traffic rate of the WLAN clients associated with a 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)

WLAN QoS commands -- 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

mdc-admin

mdc-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 (_), left brackets ([), right brackets (]), forward slashes (/), and spaces.

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 ECWmax : 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. If this field displays N/A, the QoS mode is not available.
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.
Client accepted | Number of clients that have accessed the radio. A client is counted as one client if it is using both the AC-VO and AC-VI queues.
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. If this field displays N/A, the QoS mode is not available.
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: · 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 | 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

WLAN QoS commands -- 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

ACs:

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

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

Fat APs:

The default EDCA parameter values are shown in Table 3.

Table 3 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

ACs:

Radio view

AP group radio view

Fat APs:

Radio interface view

Predefined user roles

network-admin

mdc-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). The value range for this option varies by device model.

ecwmax ecwmax-value: Specifies the exponent form of CWmax (ECWmax). The value range for this option varies by device model. 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 this option varies by device model. If the value is 0, a client can send only one packet each time it holds the channel.

Usage guidelines

On ACs, the configuration in radio view takes precedence over the configuration in AP group radio view.

As a best practice, set TXOP Limit values for AC-BK, AC-BE, AC-VI, and AC-VO queues to 0, 0, 188, and 102, respectively for 802.11b radios.

Examples

# (ACs.) 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

# (ACs.) 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

# (Fat APs.) Set the AIFSN of the AC-VO queue to 2 in radio view of radio 2.

<Sysname> system-view

[Sysname] interface wlan-radio 1/0/1

[Sysname-WLAN-Radio1/0/1] edca radio ac-vo aifsn 2

WLAN QoS commands -- 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

mdc-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 dot11e

WLAN QoS commands -- qos trust dot11e

Use qos trust dot11e to enable the packet trust mode.

Use undo qos trust dot11e to restore the default.

Syntax

qos trust dot11e

undo qos trust dot11e

Default

The port trust mode is enabled.

Views

Service template view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

The device supports the following trust modes:

· Packet trust mode—Uses the 802.1e priority carried in packets for priority mapping.

· Port trust mode—Uses the configured port priority for priority mapping.

Both the port trust mode and the packet trust mode are applicable to uplink packets.

Examples

# Enable the packet trust mode for service template 1.

<Sysname> system

[Sysname] wlan service-template 1

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

Related commands

qos priority

WLAN QoS commands -- 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

mdc-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 (_), left brackets ([), right brackets (]), forward slashes (/), and spaces.

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

WLAN QoS 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

ACs:

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

· In AP group radio view, SVP mapping is disabled.

Fat APs:

SVP mapping is disabled.

Views

ACs:

Radio view

AP group radio view

Fat APs:

Radio interface view

Predefined user roles

network-admin

mdc-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.

On ACs, the configuration in radio view takes precedence over the configuration in AP group radio view.

Examples

# (ACs.) 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

# (ACs.) 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

# (Fat APs.) Map SVP packets to the AC-VO queue.

<Sysname> system-view

[Sysname] interface wlan-radio 1/0/1

[Sysname-WLAN-Radio1/0/1] svp map-ac ac-vo

WLAN QoS commands -- 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 | dot11gn } { inbound | outbound } cir cir [ cbs cbs ]

undo wlan client-rate-limit [ { dot11a | dot11ac | dot11an | dot11b | dot11g | dot11gn } [ inbound | outbound ] ]

Default

Client-type-based client rate is not limited.

Views

System view

Predefined user roles

network-admin

mdc-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.

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 QoS commands -- 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 a radio mode or default settings for all radio modes.

Syntax

wlan max-bandwidth { dot11a | dot11ac | dot11an | dot11b | dot11g | dot11gn } bandwidth

undo wlan max-bandwidth [ dot11a | dot11ac | dot11an | dot11b | dot11g | dot11gn ]

Default

The following maximum bandwidth settings apply:

· 30000 Kbps for dot11a and dot11g.

· 250000 Kbps for dot11an and dot11gn.

· 500000 Kbps for dot11ac.

· 7000 Kbps for dot11b.

Views

System view

Predefined user roles

network-admin

mdc-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.

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 and dot11gn.

· 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

WLAN QoS commands -- 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

ACs:

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

· In AP group radio view, WMM is enabled.

Fat APs:

WMM is enabled.

Views

ACs:

Radio view

AP group radio view

Fat APs:

Radio interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

On ACs, 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

# (ACs.) 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

# (ACs.) 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

# (Fat APs.) Disable WMM.

<Sysname> system-view

[Sysname] interface wlan-radio 1/0/1

[Sysname-WLAN-Radio1/0/1] wmm disable

WLAN QoS commands -- wmm edca client (ac-be and ac-bk)

Use wmm edca client to set EDCA parameters of AC-BE or AC-BK queues for clients.

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 }

Default

ACs:

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

· In AP group radio view, the default EDCA parameter values of AC-BE or AC-BK queues for clients are shown in Table 4.

Fat APs:

The default EDCA parameter values of AC-BE or AC-BK queues for clients are shown in Table 4.

Table 4 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

ACs:

Radio view

AP group radio view

Fat APs:

Radio interface view

Predefined user roles

network-admin

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

On ACs, the configuration in radio view takes precedence over the configuration in AP group radio view.

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.

Examples

# (ACs.) 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] wmm edca client ac-be aifsn 5

# (ACs.) 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] wmm edca client ac-be aifsn 5

# (Fat APs.) Set the AIFSN to 5 for the AC-BE queue.

<Sysname> system-view

[Sysname] interface wlan-radio 1/0/1

[Sysname-WLAN-Radio1/0/1] wmm edca client ac-be aifsn 5

WLAN QoS commands -- wmm edca client (ac-vi and ac-vo)

Use wmm edca client to set EDCA parameters of AC-VI or AC-VO queues for clients.

Use undo wmm edca client to restore the default.

Syntax

wmm edca client { ac-vi | ac-vo } { aifsn aifsn-value | cac { disable | enable } | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value } *

undo wmm edca client { ac-vi | ac-vo }

Default

ACs:

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

· In AP group radio view, the default EDCA parameter values of AC-VI or AC-VO queues for clients are shown in Table 5.

Fat APs:

The default EDCA parameter values of AC-VI or AC-VO queues for clients are shown in Table 5.

Table 5 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

ACs:

Radio view

AP group radio view

Fat APs:

Radio interface view

Predefined user roles

network-admin

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

On ACs, the configuration in radio view takes precedence over the configuration in AP group radio view.

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.

Examples

# (ACs.) 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] wmm edca client ac-vo aifsn 3

# (ACs.) 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] wmm edca client ac-vo aifsn 3

# (Fat APs.) Set the AIFSN to 3 for the AC-VO queue.

<Sysname> system-view

[Sysname] interface wlan-radio 1/0/1

[Sysname-WLAN-Radio1/0/1] wmm edca client ac-vo aifsn 3