No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
WLAN QoS Configuration Commands

WLAN QoS Configuration Commands

8021p (for FAT AP)

Function

The 8021p command sets mappings from user priorities of 802.11 packets to 802.1p priorities of 802.3 packets when data packets are sent from STAs to an AP.

The undo 8021p command restores the default mappings from user priorities of 802.11 packets to 802.1p priorities of 802.3 packets when data packets are sent from STAs to an AP.

By default, mappings from user priorities of 802.11 packets to 802.1p priorities of 802.3 packets are shown in Table 11-35.
Table 11-35  Default mappings from user priorities of 802.11 packets to 802.1p priorities of 802.3 packets

User-Priority

802.1p

0

0

1

1

2

2

3

3

4

4

5

5

6

6

7

7

Format

8021p designate value

8021p up-mapping value0 value1 value2 value3 value4 value5 value6 value7

undo 8021p

Parameters

Parameter

Description

Value

designate value

Indicates that user priorities of all 802.11 packets are mapped to a specified 802.1p priority of 802.3 packets.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

up-mapping

Indicates that user priorities of 802.11 packets are mapped to different 802.1p priorities of 802.3 packets.

-

value0

Specifies the 802.1p priority that maps user priority 0.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

value1

Specifies the 802.1p priority that maps user priority 1.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

value2

Specifies the 802.1p priority that maps user priority 2.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

value3

Specifies the 802.1p priority that maps user priority 3.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

value4

Specifies the 802.1p priority that maps user priority 4.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

value5

Specifies the 802.1p priority that maps user priority 5.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

value6

Specifies the 802.1p priority that maps user priority 6.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

value7

Specifies the 802.1p priority that maps user priority 7.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

802.3 and 802.11 packets use different fields to identify their priorities. 802.11 packets sent from WMM-capable STAs carry user priorities (user priority field) and 802.3 VLAN packets transmitted on the Ethernet carry 802.1p priorities (CoS field). When STAs send 802.11 packets to an AP, the AP converts the 802.11 packets into 802.3 packets. To ensure the service quality for 802.3 packets, user priorities in 802.11 packets must be mapped to 802.1p priorities in 802.3 packets to provide differentiated services to packets of different priorities.

Use either of the following methods to set the mapping mode.
  • If you want to distinguish service priorities of 802.3 packets, run the 8021p up-mapping value0 value1 value2 value3 value4 value5 value6 value7 command to map user priorities of 802.11 packets to different 802.1p priorities of 802.3 packets.
  • If you do not want to distinguish service priorities of 802.3 packets, run the 8021p designate value command to map user priorities of all 802.11 packets to a specified 802.1p priority of 802.3 packets.

Example

# Set the 802.1p priority in traffic profile p1 to a specified value.

<Huawei> system-view
[Huawei] wlan 
[Huawei-wlan-view] traffic-profile name p1 
[Huawei-wlan-traffic-prof-p1] 8021p designate 7

# Set mappings from user priorities to 802.1p priorities in traffic profile p1.

<Huawei> system-view
[Huawei] wlan 
[Huawei-wlan-view] traffic-profile name p1
[Huawei-wlan-traffic-prof-p1] 8021p up-mapping 7 6 5 4 3 2 1 0

8021p-map-up (for FAT AP)

Function

The 8021p-map-up command sets mappings from 802.1p priorities of 802.3 packets to user priorities of 802.11 packets when data packets are sent from the Internet to an AP.

The undo 8021p-map-up command restores the default mappings from 802.1p priorities of 802.3 packets to user priorities of 802.11 packets when data packets are sent from the Internet to an AP.

By default, mappings from 802.1p priorities of 802.3 packets to user priorities of 802.11 packets are shown in Table 11-36.
Table 11-36  Mappings from 802.1p priorities of 802.3 packets to user priorities of 802.11 packets

802.1p

User-Priority

0

0

1

1

2

2

3

3

4

4

5

5

6

6

7

7

Format

8021p-map-up value0 value1 value2 value3 value4 value5 value6 value7

undo 8021p-map-up

Parameters

Parameter

Description

Value

value0

Specifies the user priority that maps 802.1p priority 0.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

value1

Specifies the user priority that maps 802.1p priority 1.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

value2

Specifies the user priority that maps 802.1p priority 2.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

value3

Specifies the user priority that maps 802.1p priority 3.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

value4

Specifies the user priority that maps 802.1p priority 4.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

value5

Specifies the user priority that maps 802.1p priority 5.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

value6

Specifies the user priority that maps 802.1p priority 6.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

value7

Specifies the user priority that maps 802.1p priority 7.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

802.3 and 802.11 packets use different fields to identify their priorities. 802.11 packets sent from WMM-capable STAs carry user priorities (user priority field) and 802.3 VLAN packets transmitted on the Ethernet carry 802.1p priorities (CoS field). When data packets are sent from upper-layer network to APs, 802.3 packets must be converted into 802.11 packets. You can run the 8021p-map-up command to map 802.1p priorities of 802.3 packets to user priorities of 802.11 packets.

Example

# Configure mappings from 802.1p priorities to user priorities in traffic profile p1.

<Huawei> system-view
[Huawei] wlan 
[Huawei-wlan-view] traffic-profile name p1
[Huawei-wlan-traffic-prof-p1] 8021p-map-up 7 6 5 4 3 2 1 0

display traffic-profile (for FAT AP)

Function

The display traffic-profile command displays the traffic profile configuration.

Format

display traffic-profile { all | id profile-id | name profile-name }

Parameters

Parameter

Description

Value

all

Displays the configurations of all traffic profiles.

-

id profile-id

Displays the configuration of a traffic profile with a specified ID.

The traffic profile ID must exist.

name profile-name

Displays the configuration of a traffic profile with a specified name.

The traffic profile name must exist.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run this command to view the default configuration of a new traffic profile or the configuration of a configured traffic profile.

Example

# Display the configuration of traffic profile 0.

<Huawei> display traffic-profile id 0
  Profile ID         : 0                                                        
  Profile name       : lw                                                       
  Client Limit Rate  : 4294967295 Kbps(up)                                      
                     : 4294967295 Kbps(down)                                    
  VAP Limit Rate     : 4294967295 Kbps(up)                                      
                     : 4294967295 Kbps(down)                                    
  802.1p Mapping Mode: mapping                                                  
  ----------------------------                                                  
  User-priority  802.1p                                                         
  0              0                                                              
  1              1                                                              
  2              2                                                              
  3              3                                                              
  4              4                                                              
  5              5                                                              
  6              6                                                              
  7              7                                                              
  ----------------------------                                                  
  802.1p to User-priority Mapping List:                                         
  ----------------------------                                                  
  802.1p  User-priority                                                         
  0       0                                                                     
  1       1                                                                     
  2       2                                                                     
  3       3                                                                     
  4       4                                                                     
  5       5                                                                     
  6       6                                                                     
  7       7                                                                     
  ----------------------------                                                  
  Service-set bind the traffic-profile:                                         
  ---------------------------------------------------                           
    0                                                                           
  ---------------------------------------------------                           
  Total: 1
Table 11-37  Description of the display traffic-profile command output

Item

Description

Profile ID

Traffic profile ID.

To set the traffic profile ID, run the traffic-profile (WLAN view) (for FAT AP) command.

Profile name

Traffic profile name.

To set the traffic profile name, run the traffic-profile (WLAN view) (for FAT AP) command.

Client Limit Rate

Rate limit configured for STAs.
  • up: indicates rate limit for upstream packets of the STAs.
  • down: indicates rate limit for downstream packets of the STAs.

To set the rate limit for STAs, run the rate-limit client (for FAT AP) command.

VAP Limit Rate

Rate limit configured for VAPs.
  • up: indicates rate limit for upstream packets of the VAPs.
  • down: indicates rate limit for downstream packets of the VAPs.

To set the rate limit for VAPs, run the rate-limit vap (for FAT AP) command.

802.1p Mapping Mode

Mappings from user priorities to 802.1p priorities.
  • designate(x): maps user priorities to a specified 802.1p priority. x indicates the 802.1p priorities.
  • mapping: maps user priorities to different 802.1p priorities.

To mappings from user priorities to 802.1p priorities, run the 8021p (for FAT AP) command.

802.1p to User-priority Mapping List

Mappings from 802.1p priorities to user priorities.

To mappings from 802.1p priorities to user priorities, run the 8021p-map-up (for FAT AP) command.

Service-set bind the traffic-profile

ID of a service set bound to the traffic profile.

To set the ID of a service set bound to the traffic profile, run the traffic-profile command.

# Display the configurations of all traffic profiles.

<Huawei> display traffic-profile all
   ----------------------------------------------------                         
   ID     Name                                                                  
  ----------------------------------------------------                          
   0      lw                                                                    
  ----------------------------------------------------                          
   Total: 1
Table 11-38  Description of the display traffic-profile all command output

Item

Description

ID

Traffic profile ID.

To set the traffic profile ID, run the traffic-profile (WLAN view) (for FAT AP) command.

Name

Traffic profile name.

To set the traffic profile name, run the traffic-profile (WLAN view) (for FAT AP) command.

display wmm-profile (for FAT AP)

Function

The display wmm-profile command displays the WMM profile configuration.

Format

display wmm-profile { all | id profile-id | name profile-name }

Parameters

Parameter

Description

Value

all

Displays the configurations of all WMM profiles.

-

id profile-id

Displays the configuration of a WMM profile with a specified ID.

The value is an integer that ranges from 0 to 15.

name profile-name

Displays detailed information about a WMM profile with a specified name.

The value of profile-name is a character string of 1 to 31 characters without spaces or question marks (?). The character string cannot start or end with a quotation mark (").

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run this command to view the default configuration of a new WMM profile or the configuration of a configured WMM profile.

Example

# Display detailed information about WMM profile 0.

<Huawei> display wmm-profile id 0
  Profile ID      : 0                                                           
  Profile name    : lw                                                          
  WMM switch      : enable                                                      
  Mandatory switch: disable                                                     
  Client EDCA parameters:                                                       
  ---------------------------------------------------                           
         ECWmax  ECWmin  AIFSN  TXOPLimit                                       
  AC_VO  3       2       2      47                                              
  AC_VI  4       3       2      94                                              
  AC_BE  10      4       3      0                                               
  AC_BK  10      4       7      0                                               
  ---------------------------------------------------                           
  AP EDCA parameters:                                                           
  ---------------------------------------------------                           
         ECWmax  ECWmin  AIFSN  TXOPLimit  Ack-Policy                           
  AC_VO  3       2       1      47         normal                               
  AC_VI  4       3       1      94         normal                               
  AC_BE  6       4       3      0          normal                               
  AC_BK  10      4       7      0          normal                               
  ---------------------------------------------------                           
  Radio-profile(s) bind the wmm-profile:                                        
  ---------------------------------------------------                           
    0        1        2        3                                                
  ---------------------------------------------------                           
  Total: 4    
Table 11-39  Description of the display wmm-profile command output

Item

Description

Profile ID

WMM profile ID.

To set the WMM profile ID, run the wmm-profile (WLAN view) (for FAT AP) command.

Profile name

WMM profile name.

To set the WMM profile name, run the wmm-profile (WLAN view) (for FAT AP) command.

WMM switch

Whether WMM is enabled.

To enable WMM, run the wmm enable (for FAT AP) command.

Mandatory switch

Whether STAs that do not support WMM are allowed to connect to a WMM-capable AP

To allow STAs that do not support WMM to connect to a WMM-capable AP, run the wmm mandatory enable (for FAT AP) command.

Client EDCA parameters

EDCA parameters for STAs.

To set EDCA parameters for STAs, run the wmm edca client (for FAT AP) command.

AP EDCA parameters

EDCA parameters for APs.

To set EDCA parameters for APs, run the wmm edca ap (for FAT AP) command.

AC_VO

Voice access category.

To set the voice access category, run the wmm edca client (for FAT AP) and wmm edca ap (for FAT AP) commands.

AC_VI

Video access category.

To set the video access category, run the wmm edca client (for FAT AP) and wmm edca ap (for FAT AP) commands.

AC_BE

Best effort access category.

To set the best effort access category, run the wmm edca client (for FAT AP) and wmm edca ap (for FAT AP) commands.

AC_BK

Background access category.

To set the background access category, run the wmm edca client (for FAT AP) and wmm edca ap (for FAT AP) commands.

ECWmax

Exponent form of the maximum contention window.

To set the exponent form of the maximum contention window, run the wmm edca client (for FAT AP) and wmm edca ap (for FAT AP) commands.

ECWmin

Exponent form of the minimum contention window.

To set the exponent form of the minimum contention window, run the wmm edca client (for FAT AP) and wmm edca ap (for FAT AP) commands.

AIFSN

Arbitration inter frame spacing number.

To set the arbitration inter frame spacing number, run the wmm edca client (for FAT AP) and wmm edca ap (for FAT AP) commands.

TXOPLimit

Transmission opportunity limit.

To set the transmission opportunity limit, run the wmm edca client (for FAT AP) and wmm edca ap (for FAT AP) commands.

Ack-Policy

ACK policy.

To set the ACK policy, run the wmm edca ap (for FAT AP) command.

Radio-profile(s) bind the wmm-profile

ID of a radio profile bound to the WMM profile.

To set the ID of a radio profile bound to the WMM profile, run the wmm-profile (radio profile view) (for FAT AP) command.

# Display the configurations of all WMM profiles.

<Huawei> display wmm-profile all
  ----------------------------------------------------                          
   ID     Name                                                                  
  ----------------------------------------------------                          
   0      lw                                                                    
  ----------------------------------------------------                          
   Total: 1 
Table 11-40  Description of the display wmm-profile all command output

Item

Description

ID

WMM profile ID.

To set the WMM profile ID, run the wmm-profile (WLAN view) (for FAT AP) command.

Name

WMM profile name.

To set the WMM profile name, run the wmm-profile (WLAN view) (for FAT AP) command.

rate-limit vap (for FAT AP)

Function

The rate-limit vap command sets the rate limit for upstream and downstream traffic on all STAs in a VAP.

The undo rate-limit vap command restores the default rate limit for upstream and downstream traffic on all STAs in a VAP.

By default, the rate limit for upstream and downstream traffic on all STAs in a VAP is 4294967295, in kbit/s.

Format

rate-limit vap { up | down } rate-limit-value

undo rate-limit vap { up | down }

Parameters

Parameter

Description

Value

up

Limits the rate of upstream traffic in a VAP.

-

down

Limits the rate of downstream traffic in a VAP.

-

rate-limit-value

Specifies the limit rate of traffic.

The value is an integer that ranges from 64 to 4294967295, in kbit/s.

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run the rate-limit vap command to limit the rate of upstream and downstream traffic on all STAs in a VAP to protect network bandwidth resources.

Precautions

The rate limit set using the rate-limit vap command must be not smaller than that set using the rate-limit client (for FAT AP) command.

Example

# Set the rate limit of upstream traffic on all STAs in a VAP bound to traffic profile p1 to 64 kbit/s.

<Huawei> system-view
[Huawei] wlan 
[Huawei-wlan-view] traffic-profile name p1 
[Huawei-wlan-traffic-prof-p1] rate-limit vap up 64      

rate-limit client (for FAT AP)

Function

The rate-limit client command sets the rate limit for upstream and downstream traffic on each STA in a VAP.

The undo rate-limit client command restores the default rate limit for upstream and downstream traffic on each STA in a VAP.

By default, the rate limit for upstream and downstream traffic on each STA in a VAP is 4294967295, in kbit/s.

Format

rate-limit client { up | down } rate-limit-value

undo rate-limit client { up | down }

Parameters

Parameter

Description

Value

up

Limits the rate of upstream traffic on a STA.

-

down

Limits the rate of downstream traffic on a STA.

-

rate-limit-value

Specifies the limit rate of traffic.

The value is an integer that ranges from 64 to 4294967295, in kbit/s.

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run the rate-limit client command to limit the rate of upstream and downstream traffic on each STA in a VAP to protect network bandwidth resources.

Precautions

The rate limit set using the rate-limit client command cannot be larger than that set using the rate-limit vap (for FAT AP) command.

Example

# Set the rate limit of upstream traffic on each STA in a VAP bound to traffic profile p1 to 64 kbit/s.

<Huawei> system-view
[Huawei] wlan 
[Huawei-wlan-view] traffic-profile name p1 
[Huawei-wlan-traffic-prof-p1] rate-limit client up 64      

traffic-profile (WLAN view) (for FAT AP)

Function

The traffic-profile command creates a traffic profile and displays the traffic profile view. If the specified traffic profile exists, you can directly enter the specified traffic profile view.

The undo traffic-profile command deletes a traffic profile. The traffic profile bound to a service set cannot be deleted.

By default, the traffic profile named traf exists in the system.

Format

traffic-profile { name profile-name | id profile-id } *

undo traffic-profile { all | name profile-name | id profile-id }

Parameters

Parameter

Description

Value

id profile-id

Specifies the ID of a traffic profile.

The value is an integer that ranges from 0 to 15.

name profile-name

Specifies the name of a traffic profile.

The value is a string of 1 to 31 case-insensitive characters. It does not contain question marks (?) or spaces, and cannot begin or end with double quotation marks (" ").

all

Deletes all traffic profiles.

Views

WLAN view

Default Level

2: Configuration level

Usage Guidelines

  • The traffic-profile command applies to the following situations:
    • To apply the priority mapping and traffic suppression functions to a VAP, create a traffic profile and bind the traffic profile to a service set.
    • To change the priority mapping and traffic suppression functions of a VAP, enter the traffic profile view of the VAP to modify the required parameters. When a traffic profile is not required, delete it.
  • After a traffic profile is created, the profile retains the default settings. For details about the default settings, see the rate-limit client, rate-limit vap, 8021p, and 8021p-map-up commands.
NOTE:
  • The profile name is mandatory when you create a traffic profile. The profile ID is optional. If you do not specify a profile ID, an ID is automatically allocated.
  • When entering the created traffic profile view, you can specify either the profile name or profile ID. If you specify both the profile name and profile ID, you can enter the specified traffic profile view only when both the profile name and profile ID are correct.
  • You can specify a profile name or profile ID to delete the specified profile.
  • The traffic profile bound to a service set cannot be deleted.

Example

# Create a traffic profile p1 and enter the traffic profile view.

<Huawei> system-view
[Huawei] wlan 
[Huawei-wlan-view] traffic-profile name p1 
[Huawei-wlan-traffic-prof-p1]    

wmm edca ap (for FAT AP)

Function

The wmm edca ap command sets EDCA parameters and ACK policies for an AP.

The undo wmm edca ap command restores the default EDCA parameters and ACK policies for an AP.

Table 11-41 lists the default EDCA parameter settings and ACK policy for APs.
Table 11-41  Default EDCA parameter settings and ACK policy for APs
Packet Type ECWmax ECWmin AIFSN TXOPLimit ACK Policy
AC_VO 3 2 1 47 normal
AC_VI 4 3 1 94 normal
AC_BE 6 4 3 0 normal
AC_BK 10 4 7 0 normal

Format

wmm edca ap { ac-vo | ac-vi | ac-be | ac-bk } { aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value | ack-policy { normal | noack } } *

undo wmm edca ap

Parameters

Parameter

Description

Value

ac-vo

Indicates AC_VO packets.

-

ac-vi

Indicates AC_VI packets.

-

ac-be

Indicates AC_BE packets.

-

ac-bk

Indicates AC_BK packets.

-

aifsn aifsn-value

Specifies the AIFSN, which determines the channel idle time.

The value is an integer that ranges from 1 to 15.

ecwmin ecwmin-value

Specifies the ECWmin. ECWmin and ECWmax determine the average backoff time.

The value is an integer that ranges from 0 to 15 and must be smaller than the ECWmax value.

ecwmax ecwmax-value

Specifies the ECWmax. ECWmax and ECWmin determine the average backoff time.

The value is an integer that ranges from 0 to 15 and must be larger than the ECWmin value.

txoplimit txoplimit-value

Specifies the TXOPLimit. The value determines the maximum duration in which an AP or a STA can occupy a channel. A larger TXOPLimit value indicates a longer duration to occupy a channel.

The value is an integer that ranges from 0 to 255. The unit is 32 microseconds.
NOTE:

If the TXOPLimit value is 0, the STA can send only one data frame every time it occupies a channel.

ack-policy { normal | noack }

Specifies an ACK policy.
  • normal: During 802.11 packet exchange, The receiver must return an ACK packet each time it receives a packet from the sender.
  • noack: The receiver does not need to send an ACK message when it receives a packet from the sender. The noack is applicable to scenarios with good communication quality and little interference.
-

Views

WMM profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

WMM classifies data packets into the following access categories (ACs): AC_VO, AC_VI, AC_BE, and AC_BK. A set of EDCA parameters is set for each AC queue. These parameters determine the capabilities of a queue to occupy a channel. You can set EDCA parameters for packets of different ACs to provide different priorities to the packets. In this way, APs have different capabilities to compete for channels and provide differentiated services.

Precautions

  • EDCA parameters of the four ACs take effect only after WMM is enabled using the wmm enable (for FAT AP) command.
  • By default, queues of AC_VO, AC_VI, AC_BE, and AC_BK are in descending order of priority. Priorities of the four queues are determined by their EDCA parameters.

Example

# Set EDCA parameters and an ACK policy for the AC_VO queue of an AP in WMM profile p1.

<Huawei> system-view
[Huawei] wlan 
[Huawei-wlan-view] wmm-profile name p1  
[Huawei-wlan-wmm-prof-p1] wmm edca ap ac-vo aifsn 7 ecw ecwmin 4 ecwmax 10 txoplimit 0 ack-policy normal   

wmm edca client (for FAT AP)

Function

The wmm edca client command sets EDCA parameters for a STA.

The undo wmm edca client command restores the default EDCA parameters for a STA.

Table 11-42 lists the default EDCA parameter settings for STAs.
Table 11-42  Default EDCA parameter settings for STAs
Packet Type ECWmax ECWmin AIFSN TXOPLimit
AC_VO 3 2 2 47
AC_VI 4 3 2 94
AC_BE 10 4 3 0
AC_BK 10 4 7 0

Format

wmm edca client { ac-vo | ac-vi | ac-be | ac-bk } { aifsn aifsn-value | ecw ecwmin ecwmin-value ecwmax ecwmax-value | txoplimit txoplimit-value } *

undo wmm edca client

Parameters

Parameter

Description

Value

ac-vo

Indicates AC_VO packets.

-

ac-vi

Indicates AC_VI packets.

-

ac-be

Indicates AC_BE packets.

-

ac-bk

Indicates AC_BK packets.

-

aifsn aifsn-value

Specifies the AIFSN, which determines the channel idle time.

The value is an integer that ranges from 1 to 15.

ecwmin ecwmin-value

Specifies the ECWmin. ECWmin and ECWmax determine the average backoff time.

The value is an integer that ranges from 0 to 15 and must be smaller than the ECWmax value.

ecwmax ecwmax-value

Specifies the ECWmax. ECWmax and ECWmin determine the average backoff time.

The value is an integer that ranges from 0 to 15 and must be larger than the ECWmin value.

txoplimit txoplimit-value

Specifies the TXOPLimit. The value determines the maximum duration in which an AP or a STA can occupy a channel. A larger TXOPLimit value indicates a longer duration to occupy a channel.

The value is an integer that ranges from 0 to 255. The unit is 32 microseconds.
NOTE:

If the TXOPLimit value is 0, the STA can send only one data frame every time it occupies a channel.

Views

WMM profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

WMM classifies data packets into the following access categories (ACs): AC_VO, AC_VI, AC_BE, and AC_BK. A set of EDCA parameters is set for each AC queue. These parameters determine the capabilities of a queue to occupy a channel. You can set EDCA parameters for packets of different ACs to provide different priorities to the packets. In this way, STAs have different capabilities to compete for channels and provide differentiated services.

Table 11-43 describes the EDCA parameters.
Table 11-43  EDCA parameter description

Parameter

Meaning

Arbitration Inter Frame Spacing Number (AIFSN)

The DIFS has a fixed value. WMM provides different DIFS values for different ACs. A large AIFSN value means that the STA must wait for a long time and has a low priority.

Exponent form of CWmin (ECWmin) and Exponent form of CWmax (ECWmax)

ECWmin specifies the minimum backoff time, and ECWmax specifies the maximum backoff time. They determine the average backoff time. Large ECWmin and ECWmax values mean that the average backoff time for the STA is long and the STA priority is low.

Transmission Opportunity Limit (TXOPLimit)

After preempting a channel, the STA can occupy the channel within the period of TXOPLimit. A large TXOPLimit value means that the STA can occupy the channel for a long time. If the TXOPLimit value is 0, the STA can send only one data frame every time it preempts a channel.

Precautions

  • EDCA parameters of the four ACs take effect only after WMM is enabled using the wmm enable (for FAT AP) command.
  • By default, queues of AC_VO, AC_VI, AC_BE, and AC_BK are in descending order of priority. Priorities of the four queues are determined by their EDCA parameters.

Example

# Set EDCA parameters for the AC_VO queue of a STA in WMM profile p1.

<Huawei> system-view
[Huawei] wlan 
[Huawei-wlan-view] wmm-profile name p1  
[Huawei-wlan-wmm-prof-p1] wmm edca client ac-vo aifsn 7 ecw ecwmin 4 ecwmax 10 txoplimit 0   

wmm enable (for FAT AP)

Function

The wmm enable command enables WMM in a WMM profile.

The undo wmm enable command disables WMM from a WMM profile.

By default, WMM is enabled.

Format

wmm enable

undo wmm enable

Parameters

None

Views

WMM profile view

Default Level

2: Configuration level

Usage Guidelines

Precautions

Parameters in a WMM profile can be set only after WMM is enabled in the WMM profile using the wmm enable command.

The undo legacy-station enable and undo wmm enable commands cannot be configured at the same time, otherwise, any STA cannot access the WLAN.

Example

# Enable WMM in WMM profile p1.

<Huawei> system-view
[Huawei] wlan 
[Huawei-wlan-view] wmm-profile name p1
[Huawei-wlan-wmm-prof-p1] wmm enable

wmm mandatory enable (for FAT AP)

Function

The wmm mandatory enable disables STAs that do not support WMM from connecting to a WMM-enabled AP.

The undo wmm mandatory enable allows STAs that do not support WMM to connect to a WMM-enabled AP.

By default, STAs that do not support WMM are allowed to connect to a WMM-enabled AP.

Format

wmm mandatory enable

undo wmm mandatory enable

Parameters

None

Views

WMM profile view

Default Level

2: Configuration level

Usage Guidelines

On a WLAN, wireless channels are open and all STAs have the same chance to occupy a channel. You can configure WMM to distinguish high-priority packets and enable the high-priority packets to preempt channels. You can also disable STAs that do not support WMM from connecting to a WMM-enabled AP, which prevents those STAs from preempting channels of WMM-capable STAs.

Example

# Disable STAs that do not support WMM to connect to a WMM-enabled AP.

<Huawei> system-view
[Huawei] wlan 
[Huawei-wlan-view] wmm-profile name p1
[Huawei-wlan-wmm-prof-p1] wmm mandatory enable
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 49339

Downloads: 102

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next