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

Command Reference

S1720, S2700, S5700, and S6720 V200R011C10

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

Command Support

Only the S5720HI supports WLAN-AC commands.

airtime-fair-schedule enable

Function

The airtime-fair-schedule enable command enables airtime fair scheduling on an AP radio.

The undo airtime-fair-schedule enable command disables airtime fair scheduling on an AP radio.

By default, airtime fair scheduling is disabled on an AP radio.

Format

airtime-fair-schedule enable

undo airtime-fair-schedule enable

Parameters

None

Views

RRM profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a WLAN, the physical layer rates of users have great differences due to different radio modes supported by the terminals or radio environment where the terminals reside. If the users with lower physical layer rates occupy wireless channels for a long period, user experience of the entire WLAN is affected. Airtime fair scheduling calculates the channel occupation time of users transmitting the same service and preferentially schedules resources for the users who occupy the wireless channel for a shorter period. This ensures fairness in channel usage.

After airtime fair scheduling is enabled, the device collects statistics on the channel occupation time used by users connected to the same radio for sending packets, creates the mapping table for the channel occupation time of each user in accumulated mode, and establishes a sorted link table based on the time in an ascending order. Based on the mapping table, an AP transmits data with the user who occupies the channel for the shortest time, ensuring that each user can equally occupy the wireless channels. The data packets of high-speed users are transmitted quickly, which is not affected by the data transmission time of low-speed users. This improves the overall user experience.

After WMM is enabled on the device and terminals, user packets are scheduled based on different types (service types include VI, VO, BE, and BK). For example, voice packets are scheduled only with other voice packets, and video packets are scheduled only with other video packets.

Precautions

If the packets of multiple users are of different types, airtime fair scheduling is not performed. For example, two users perform packet transmission: one transmits voice packets and the other transmits video packets. In this case, airtime fair scheduling is not performed for the two users.

When the command is executed, the system displays the message "Warning: This action may cause service interruption. Continue?[Y/N]", asking you whether you want to continue.

Example

# Enable airtime fair scheduling in RRM profile default.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] rrm-profile name default
[HUAWEI-wlan-rrm-prof-default] airtime-fair-schedule enable

app-share remark

Function

The app-share remark command sets a priority for Lync desktop sharing packets.

The undo app-share remark command deletes the priority of Lync desktop sharing packets.

By default, the priority of Lync desktop sharing packets is not set.

Format

app-share remark { 8021p 8021p-value | dscp { dscp-value | dscp-name } | local-precedence { local-precedence-value | local-precedence-name } }

undo app-share remark { 8021p | dscp | local-precedence }

Parameters

Parameter

Description

Value

8021p 8021p-value

Specifies the 802.1p priority.

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

dscp { dscp-value | dscp-name }

Specifies the DSCP priority.

The value is a Diff-Serv code that is an integer ranging from 0 to 63, or a DSCP service type that can be af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs1 to cs7, default, or ef.

The values of service types are as follows:

  • af11: 10
  • af12: 12
  • af13: 14
  • af21: 18
  • af22: 20
  • af23: 22
  • af31: 26
  • af32: 28
  • af33: 30
  • af41: 34
  • af42: 36
  • af43: 38
  • cs1: 8
  • cs2: 16
  • cs3: 24
  • cs4: 32
  • cs5: 40
  • cs6: 48
  • cs7: 56
  • default: 0
  • ef: 46
local-precedence { local-precedence-value | local-precedence-name }

Specifies the local priority.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority. Or, the value is a service type that can be af1, af2, af3, af4, be, cs6, cs7, or ef.

The values of service types are as follows:

  • af1: 1
  • af2: 2
  • af3: 3
  • af4: 4
  • be: 0
  • cs6: 6
  • cs7: 7
  • ef: 5

Views

UCC profile view

Default Level

2: Configuration level

Usage Guidelines

Application Scenarios

Microsoft Lync is a set of communication software that provides voice, video, desktop sharing, and file transfer functions. You can run the app-share remark command to change the priority of Lync desktop sharing packets.

Precautions

The 802.1p priority and local priority cannot be set for the Lync desktop sharing packets of one Lync session.

If you run the app-share remark command in the same UCC profile view multiple times to set the 802.1p priority, DSCP priority, or local priority of Lync desktop sharing packets, only the latest configuration takes effect.

Example

# Set the DSCP priority of Lync desktop sharing packets to 1 in the UCC profile test.

<HUAWEI> system-view
[HUAWEI] ucc-profile name test
[HUAWEI-ucc-prof-test] app-share remark dscp 1

display references traffic-profile

Function

The display references traffic-profile command displays the reference information of a traffic profile.

Format

display references traffic-profile name profile-name

Parameters

Parameter

Description

Value

name profile-name

Displays the reference information of a specified traffic profile.

The traffic profile must exist.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run this command to check the VAP profiles by which a specified traffic profile is referenced.

Example

# Display the reference information of the traffic profile p1.

<HUAWEI> display references traffic-profile name p1
----------------------------------------------------
Reference type     Reference name
----------------------------------------------------
VAP profile        default
VAP profile        wlan-vap
VAP profile        jsl
VAP profile        test
VAP profile        wlan-vap1
VAP profile        huawei
VAP profile        2
----------------------------------------------------
Total: 7 
Table 11-124  Description of the display references traffic-profile command output

Item

Description

Reference type

Type of the profile that references a traffic profile.

Reference name

Name of the profile that references a traffic profile.

display traffic-profile

Function

The display traffic-profile command displays configuration information about a traffic profile.

Format

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

Parameters

Parameter

Description

Value

all

Displays configuration information about all traffic profiles.

-

name profile-name

Displays configuration information about a specified traffic profile.

The value is a string of 1 to 35 characters without spaces and question marks (?). It cannot begin or end with double quotation marks (" ").

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display traffic-profile command to check default configurations of a new traffic profile or configurations of an existing traffic profile.

Example

# Display configuration information about a traffic profile that maps the trusted user priority from 802.11 packets to tunnel packets when packets are sent from an AP to the AC.

<HUAWEI> display traffic-profile name p1
---------------------------------------------------------------------------------------------
Profile ID                                         : 1
Priority map downstream trust                      : DSCP
User isolate mode                                  : disable
Rate limit client up(Kbps)                         : 4294967295
Rate limit client down(Kbps)                       : 4294967295
Rate limit VAP up(Kbps)                            : 4294967295
Rate limit VAP down(Kbps)                          : 4294967295
IGMP snooping                                      : disable
IGMP snooping report suppress                      : disable
Spectralink voice priority                         : disable
Priority map upstream trust                        : 8021e
IGMP snooping max bandwith(kbps)                   : -
IGMP snooping max user                             : -
Traffic optimize sta bridge forward                : enable
Traffic optimize broadcast suppression(pps)        : -
Traffic optimize multicast suppression(pps)        : -
Traffic optimize unicast suppression(pps)          : -
Traffic optimize multicast to unicast              : disable
  Dynamic adaptive                                 : enable
Priority map tunnel upstream trust                 : 8021e
CAPWAP priority upstream map mode  : 802.11e map DSCP
                                     0 map 0
                                     1 map 8
                                     2 map 16
                                     3 map 24
                                     4 map 32
                                     5 map 40
                                     6 map 48
                                     7 map 56
CAPWAP priority upstream map mode  : 802.11e map 802.1p
                                     0 map 0
                                     1 map 1
                                     2 map 2
                                     3 map 3
                                     4 map 4
                                     5 map 5
                                     6 map 6
                                     7 map 7
WMM priority downstream map mode   : DSCP map 802.11e
                                     0-7 map 0
                                     8-15 map 1
                                     16-23 map 2
                                     24-31 map 3
                                     32-39 map 4
                                     40-47 map 5
                                     48-55 map 6
                                     56-63 map 7
WMM priority downstream map mode   : 802.1p map 802.11e
                                     0 map 0
                                     1 map 1
                                     2 map 2
                                     3 map 3
                                     4 map 4
                                     5 map 5
                                     6 map 6
                                     7 map 7
---------------------------------------------------------------------------------------------
Traffic Type                        Direction  AppliedRecord
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
Traffic Type                        Direction  RemarkType  RemarkValue  AppliedRecord
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------

# Display configuration information about a traffic profile that maps the trusted DSCP priority from 802.11 packets to tunnel packets when packets are sent from an AP to the AC.

<HUAWEI> display traffic-profile name p1
---------------------------------------------------------------------------------------------
Profile ID                                         : 1
Priority map downstream trust                      : DSCP
User isolate mode                                  : disable
Rate limit client up(Kbps)                         : 4294967295
Rate limit client down(Kbps)                       : 4294967295
Rate limit VAP up(Kbps)                            : 4294967295
Rate limit VAP down(Kbps)                          : 4294967295
IGMP snooping                                      : disable
IGMP snooping report suppress                      : disable
Spectralink voice priority                         : disable
Priority map upstream trust                        : 8021e
IGMP snooping max bandwith(kbps)                   : -
IGMP snooping max user                             : -
Traffic optimize sta bridge forward                : enable
Traffic optimize broadcast suppression(pps)        : -
Traffic optimize multicast suppression(pps)        : -
Traffic optimize unicast suppression(pps)          : -
Traffic optimize multicast to unicast              : disable
  Dynamic adaptive                                 : enable
Priority map tunnel upstream trust                 : DSCP
CAPWAP priority upstream map mode  : 802.11e map DSCP
                                     0 map 0
                                     1 map 8
                                     2 map 16
                                     3 map 24
                                     4 map 32
                                     5 map 40
                                     6 map 48
                                     7 map 56
CAPWAP priority upstream map mode  : 802.11e map 802.1p
                                     0 map 0
                                     1 map 1
                                     2 map 2
                                     3 map 3
                                     4 map 4
                                     5 map 5
                                     6 map 6
                                     7 map 7
WMM priority downstream map mode   : DSCP map 802.11e
                                     0-7 map 0
                                     8-15 map 1
                                     16-23 map 2
                                     24-31 map 3
                                     32-39 map 4
                                     40-47 map 5
                                     48-55 map 6
                                     56-63 map 7
WMM priority downstream map mode   : 802.1p map 802.11e
                                     0 map 0
                                     1 map 1
                                     2 map 2
                                     3 map 3
                                     4 map 4
                                     5 map 5
                                     6 map 6
                                     7 map 7
priority upstream map mode         : DSCP map DSCP
                                     0 map 0
                                     1 map 1
                                     2 map 2
                                     3 map 3
                                     4 map 4
                                     5 map 5
                                     6 map 6
                                     7 map 7
                                     8 map 8
                                     9 map 9
                                     10 map 10
                                     11 map 11
                                     12 map 12
                                     13 map 13
                                     14 map 14
                                     15 map 15
                                     16 map 16
                                     17 map 17
                                     18 map 18
                                     19 map 19
                                     20 map 20
                                     21 map 21
                                     22 map 22
                                     23 map 23
                                     24 map 24
                                     25 map 25
                                     26 map 26
                                     27 map 27
                                     28 map 28
                                     29 map 29
                                     30 map 30
                                     31 map 31
                                     32 map 32
                                     33 map 33
                                     34 map 34
                                     35 map 35
                                     36 map 36
                                     37 map 37
                                     38 map 38
                                     39 map 39
                                     40 map 40
                                     41 map 41
                                     42 map 42
                                     43 map 43
                                     44 map 44
                                     45 map 45
                                     46 map 46
                                     47 map 47
                                     48 map 48
                                     49 map 49
                                     50 map 50
                                     51 map 51
                                     52 map 52
                                     53 map 53
                                     54 map 54
                                     55 map 55
                                     56 map 56
                                     57 map 57
                                     58 map 58
                                     59 map 59
                                     60 map 60
                                     61 map 61
                                     62 map 62
                                     63 map 63
priority tunnel upstream map mode  : DSCP map 802.1p
                                     0-7 map 0
                                     8-15 map 1
                                     16-23 map 2
                                     24-31 map 3
                                     32-39 map 4
                                     40-47 map 5
                                     48-55 map 6
                                     56-63 map 7
---------------------------------------------------------------------------------------------
Traffic Type                        Direction  AppliedRecord
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
Traffic Type                        Direction  RemarkType  RemarkValue  AppliedRecord
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
Table 11-125  Description of the display traffic-profiledisplay wlan traffic-profile command output

Item

Description

Profile ID

Traffic profile ID

Priority map downstream trust

Mapping from the 802.1p or DSCP priority of 802.3 packets to the 802.11 user priority when 802.3 packets are sent to an AP from upper-layer devices.

To configure the parameter, run the priority-map downstream trust command.

User isolate mode

User isolation.

To configure the parameter, run the user-isolate (traffic profile view) command.

Rate limit client up(Kbps)

Indicates upstream rate limit configured for STAs.

To configure the parameter, run the rate-limit command.

Rate limit client down(Kbps)

Indicates downstream rate limit configured for STAs.

To configure the parameter, run the rate-limit command.

Rate limit VAP up(Kbps)

Indicates upstream rate limit configured for VAPs.

To configure the parameter, run the rate-limit command.

Rate limit VAP down(Kbps)

Indicates downstream rate limit configured for VAPs.

To configure the parameter, run the rate-limit command.

Traffic optimize sta bridge forward

Function of forbidding STA bridging packet forwarding.

IGMP snooping

IGMP snooping.

Spectralink voice priority

SVP voice traffic optimization.

To configure this parameter, run the svp-voice enable command.

IGMP snooping report suppress

IGMP message suppression time.

IGMP snooping max bandwith(kbps)

Maximum multicast bandwidth of a VAP.

To configure this parameter, run the igmp-snooping max-bandwidth (traffic profile view) command.

IGMP snooping max user

Maximum number of multicast group memberships on a VAP.

To configure this parameter, run the igmp-snooping max-user (traffic profile view) command.

Traffic optimize broadcast suppression(pps)

Maximum broadcast traffic volume allowed on an interface.

To configure the parameter, run the traffic-optimize broadcast-suppression command.

Traffic optimize multicast suppression(pps)

Maximum multicast traffic volume allowed on an interface.

To configure the parameter, run the traffic-optimize multicast-suppression command.

Traffic optimize unicast suppression(pps)

Maximum unicast traffic volume allowed on an interface.

To configure the parameter, run the traffic-optimize unicast-suppression command.

Traffic optimize multicast to unicast

Function of converting multicast packets to unicast packets.

To configure the parameter, run the traffic-optimize multicast-unicast enable command.

Dynamic adaptive

Whether to enable adaptive multicast-to-unicast conversion.

To configure this function, run the traffic-optimize multicast-unicast dynamic-adaptive disable command.

CAPWAP priority upstream map mode

Mapping from WMM to the DSCP priority of the upstream CAPWAP tunnel.

Priority map tunnel upstream trust

Trusted priority for mapping from 802.11 packets to tunnel packets when packets are sent to the AC from an AP.

To configure the parameter, run the priority-map tunnel-upstream trust command.

Priority map upstream trust

Trusted priority mapping from 802.11 packets to 802.3 packets when data packets are sent to the AC from an AP.

To configure this parameter, run the priority-map upstream trust command.

WMM priority downstream map mode

Mapping from the DSCP priority to the WMM of downstream packets.

priority upstream map mode

Tunnel upstream mapping when the trusted mapping from 802.11 packets to tunnel packets is DSCP, and data packets are sent to the AC from an AP.

Traffic Type

Traffic control type.

Direction(Traffic Type: traffic-filter)

Direction of packets to be filtered.

To configure this parameter, run the traffic-filter (traffic profile view) command.

AppliedRecord(Traffic Type: traffic-filter)

ACL-based packet filtering records.

To configure this parameter, run the traffic-filter (traffic profile view) command.

Direction(Traffic Type: traffic-remark)

Direction to which packet priority re-marking is applied.

To configure this parameter, run the traffic-remark (traffic profile view) command.

RemarkType

Packet priority re-marking type.

To configure this parameter, run the traffic-remark (traffic profile view) command.

RemarkValue

Re-marked packet priority value.

To configure this parameter, run the traffic-remark (traffic profile view) command.

AppliedRecord(Traffic Type: traffic-remark)

ACL-based packet priority re-marking record.

To configure this parameter, run the traffic-remark (traffic profile view) command.

# Display configurations of all traffic profiles.

<HUAWEI> display traffic-profile all
---------------------------------------------------- 
Profile name                        Reference 
----------------------------------------------------  
default                             3
1                                   1
p1                                  0
----------------------------------------------------
Total: 3
Table 11-126  Description of the display traffic-profile alldisplay wlan traffic-profile all command output

Item

Description

Profile name

Profile name.

To configure the parameter, run the traffic-profile (WLAN view) command.

Reference

Number of times a location profile is referenced.

display ucc-profile

Function

The display ucc-profile command displays the UCC profile configuration and application.

Format

display ucc-profile { all | name profile-name }

Parameters

Parameter

Description

Value

all

Displays information about all UCC profiles.

-

name profile-name

Displays information about the specified UCC profile.

The value must be the name of an existing UCC profile.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After a UCC profile is configured, run the display ucc-profile command to check the UCC profile configuration and information about the UCC profile bound to a VAP profile.

Example

# Display information about all UCC profiles.

<HUAWEI> display ucc-profile all
----------------------------------------------------------
Profile name                   Reference
----------------------------------------------------------
test                           1
----------------------------------------------------------
Table 11-127  Description of the display ucc-profile all command output

Item

Description

Profile name

Name of the UCC profile.

Reference

Number of times the UCC profile is bound to the VAP profile.

# Display information about the UCC profile test.

<HUAWEI> display ucc-profile name test
--------------------------------------------------------------------------------
Lync app share 802.1p precedence     : -
Lync app share DSCP precedence       : -
Lync app share local precedence      : -
Lync file transfer 802.1p precedence : -
Lync file transfer DSCP precedence   : -
Lync file transfer local precedence  : -
Lync video 802.1p precedence         : 6
Lync video DSCP precedence           : -
Lync video local precedence          : -
Lync voice 802.1p precedence         : -
Lync voice DSCP precedence           : -
Lync voice local precedence          : -
--------------------------------------------------------------------------------
Table 11-128  Description of the display ucc-profile name test command output

Item

Description

Lync app share 802.1p precedence

802.1p priority of Lync desktop sharing packets.

To configure the 802.1p priority of Lync desktop sharing packets, run the app-share remark command.

Lync app share DSCP precedence

DSCP priority of Lync desktop sharing packets.

To configure the DSCP priority of Lync desktop sharing packets, run the app-share remark command.

Lync app share local precedence

Local priority of Lync desktop sharing packets.

To configure the local priority of Lync desktop sharing packets, run the app-share remark command.

Lync file transfer 802.1p precedence

802.1p priority of Lync file transfer packets.

To configure the 802.1p priority of Lync file transfer packets, run the file-transfer remark command.

Lync file transfer DSCP precedence

DSCP priority of Lync file transfer packets.

To configure the DSCP priority of Lync file transfer packets, run the file-transfer remark command.

Lync file transfer local precedence

Local priority of Lync file transfer packets.

To configure the local priority of Lync file transfer packets, run the file-transfer remark command.

Lync video 802.1p precedence

802.1p priority of Lync video packets.

To configure the 802.1p priority of Lync video packets, run the video remark command.

Lync video DSCP precedence

DSCP priority of Lync video packets.

To configure the DSCP priority of Lync video packets, run the video remark command.

Lync video local precedence

Local priority of Lync video packets.

To configure the local priority of Lync video packets, run the video remark command.

Lync voice 802.1p precedence

802.1p priority of Lync voice packets.

To configure the 802.1p priority of Lync voice packets, run the voice remark command.

Lync voice DSCP precedence

DSCP priority of Lync voice packets.

To configure the DSCP priority of Lync voice packets, run the voice remark command.

Lync voice local precedence

Local priority of Lync voice packets.

To configure the local priority of Lync voice packets, run the voice remark command.

file-transfer remark

Function

The file-transfer remark command sets a priority for Lync file transfer packets.

The undo file-transfer remark command deletes the priority of Lync file transfer packets.

By default, the priority of Lync file transfer packets is not set.

Format

file-transfer remark { 8021p 8021p-value | dscp { dscp-value | dscp-name } | local-precedence { local-precedence-value | local-precedence-name } }

undo file-transfer remark { 8021p | dscp | local-precedence }

Parameters

Parameter

Description

Value

8021p 8021p-value

Specifies the 802.1p priority.

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

dscp { dscp-value | dscp-name }

Specifies the DSCP priority.

The value is a Diff-Serv code that is an integer ranging from 0 to 63, or a DSCP service type that can be af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs1 to cs7, default, or ef.

The values of service types are as follows:

  • af11: 10
  • af12: 12
  • af13: 14
  • af21: 18
  • af22: 20
  • af23: 22
  • af31: 26
  • af32: 28
  • af33: 30
  • af41: 34
  • af42: 36
  • af43: 38
  • cs1: 8
  • cs2: 16
  • cs3: 24
  • cs4: 32
  • cs5: 40
  • cs6: 48
  • cs7: 56
  • default: 0
  • ef: 46
local-precedence { local-precedence-value | local-precedence-name }

Specifies the local priority.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority. Or, the value is a service type that can be af1, af2, af3, af4, be, cs6, cs7, or ef.

The values of service types are as follows:

  • af1: 1
  • af2: 2
  • af3: 3
  • af4: 4
  • be: 0
  • cs6: 6
  • cs7: 7
  • ef: 5

Views

UCC profile view

Default Level

2: Configuration level

Usage Guidelines

Application Scenarios

Microsoft Lync is a set of communication software that provides voice, video, desktop sharing, and file transfer functions. You can run the file-transfer remark command to change the priority of Lync file transfer packets.

Precautions

The 802.1p priority and local priority cannot be set for the Lync file transfer packets of one Lync session.

If you run the file-transfer remark command in the same UCC profile view multiple times to set the 802.1p priority, DSCP priority, or local priority of Lync file transfer packets, only the latest configuration takes effect.

Example

# Set the DSCP priority of Lync file transfer packets to 1 in the UCC profile test.

<HUAWEI> system-view
[HUAWEI] ucc-profile name test
[HUAWEI-ucc-prof-test] file-transfer remark dscp 1

lync acl

Function

The lync acl command configures the switch to use an ACL to filter packets sent by the Lync server.

The undo lync acl command cancels the configuration.

By default, the switch does not use any ACL to filter packets sent by the Lync server.

Format

lync acl acl-number

undo lync acl

Parameters

Parameter

Description

Value

acl-number

Specifies the number of an ACL. The basic or advanced ACL must have been created.

The value is an integer.

  • A basic ACL ranges from 2000 to 2999.
  • An advanced ACL ranges from 3000 to 3999.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the switch communicates with the Lync server, to prevent the switch against many packets sent by bogus Lync servers, run the lync acl command to configure the switch to use an ACL to filter packets sent by the Lync server.

Prerequisites

A basic or advanced ACL has been created and rules have been configured.

Example

# Configure ACL 2001 to allow packets that carry the source address of 192.168.32.1 and are sent by the Lync server.

<HUAWEI> system-view
[HUAWEI] acl 2001
[HUAWEI-acl-basic-2001] rule permit source 192.168.32.1 0
[HUAWEI-acl-basic-2001] quit
[HUAWEI] lync acl 2001

lync listener

Function

The lync listener command configures the switch to communicate with the Lync server and specifies the port number.

The undo lync listener command cancels the configuration.

By default, the switch is not configured to communicate with the Lync server and the port number is not specified.

Format

lync listener { http-port port-num | https-port port-num ssl-policy ssl-policy }

undo lync listener

Parameters

Parameter

Description

Value

http-port port-num

Specifies the port number of the HTTP service.

The value is an integer that ranges from 1025 to 55535.

https-port port-num

Specifies the port number of the HTTPS service.

The value is an integer that ranges from 1025 to 55535.

ssl-policy ssl-policy

Specifies the SSL policy to be bound. The SSL policy must be a server SSL policy.

The value must be the name of an existing SSL policy.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Microsoft Lync is a set of communication software that provides voice, video, desktop sharing, and file transfer functions. To ensure normal running of Lync software, configure the switch to communicate with the Lync server.

Precautions

To prevent the impact on the exchange with the Lync server, you are advised to use the port number that is not in use. You can run the display ip socket register-port command to check used port numbers.

Example

# Configure the switch to communicate with the Lync server and specify HTTP port 2000.

<HUAWEI> system-view
[HUAWEI] lync listener http-port 2000

priority-map downstream dot1p

Function

The priority-map downstream dot1p command configures mapping from 802.1p priorities of 802.3 packets to user priorities of 802.11 packets when packets are sent to an AP from upper-layer devices.

The undo priority-map downstream dot1p command restores the default mapping from 802.1p priorities of 802.3 packets to user priorities of 802.11 packets when packets are sent to an AP from upper-layer devices.

By default, 802.1p priority 0 of 802.3 packets maps to user priority 0 of 802.11 packets, 802.1p priority 1 to user priority 1, and similarly, 802.1p priority 7 to user priority 7.

Format

priority-map downstream dot1p { dot1p-value1 [ to dot1p-value2 ] } &<1-7> dot11e dot11e-value

undo priority-map downstream dot1p

Parameters

Parameter

Description

Value

dot1p dot1p-value1

Specifies the 802.1p priority in an 802.3 packet.

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

to dot1p-value2

Specifies the 802.1p priority in an 802.3 packet.

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

dot1p-value2 must be greater than dot1p-value1.

dot11e dot11e-value

Specifies the 802.11 user priority.

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 a WMM-capable STA carry the user priority (also called the User Priority field), and VLAN tagged-802.3 packets transmitted on the Ethernet contain 802.1p priorities (also called the CoS field). When data packets are forwarded from the AC or upper-layer network to an AP, the AP needs to convert the 802.3 packets to 802.11 packets and map the 802.1p priority carried in the 802.3 packet header to the user priority of 802.11 packets. You can use the priority-map downstream dot1p command to configure mapping from 802.1p priorities of 802.3 packets to user priorities of 802.11 packets.

Example

# Configure the mapping from 802.1p priorities of 802.3 packets to user priorities of 802.11 packets in traffic profile p1.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] priority-map downstream dot1p 0 dot11e 2

priority-map downstream dscp

Function

The priority-map downstream dscp command configures mapping from the DSCP priority of 802.3 packets to the user priority of 802.11 packets when packets are sent to an AP from upper-layer devices.

The undo priority-map downstream dscp command restores the default mapping from the DSCP priority of 802.3 packets to the user priority of 802.11 packets when packets are sent to an AP from upper-layer devices.

Table 11-129 describes the default mapping from the DSCP priority of 802.3 packets to the user priority of 802.11 packets.
Table 11-129  Default mapping from the DSCP priority of 802.3 packets to the user priority of 802.11 packets

DSCP

UP

0-7

0

8-15

1

16-23

2

24-31

3

32-39

4

40-47

5

48-55

6

56-63

7

Format

priority-map downstream dscp { dscp-value1 [ to dscp-value2 ] } &<1-10> dot11e dot11e-value

undo priority-map downstream dscp

Parameters

Parameter

Description

Value

dscp dscp-value1

Specifies the DSCP priority of 802.3 packets.

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

to dscp-value2

Specifies the DSCP priority of 802.3 packets.

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

The value of dscp-value2 must be larger than that of dscp-value1.

dot11e dot11e-value

Specifies the user priority of 802.11 packets.

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 a WMM-capable STA carry the user priority (also called the User Priority field), and IP packets transmitted on an Ethernet carry the DSCP priority (also called the ToS field). When data packets are forwarded from the central AP or upper-layer network to an RU, the RU needs to convert the 802.3 packets to 802.11 packets and map the ToS field in the IP packet header to the UP field of 802.11 packets. You can use the priority-map downstream dscp command to configure mapping from the DSCP priority of 802.3 packets to the user priority of 802.11 packets.

Example

# Configure mapping from the DSCP priority of 802.3 packets in traffic profile p1 to the user priority of 802.11 packets.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] priority-map downstream dscp 0 to 6 dot11e 0

priority-map downstream trust

Function

The priority-map downstream trust command configures a trusted priority type used in mapping from 802.3 packets to 802.11 packets when packets are sent to an AP from upper-layer devices.

The undo priority-map downstream trust command restores the default trusted priority type used in mapping from 802.3 packets to 802.11 packets when packets are sent to an AP from upper-layer devices.

By default, the DSCP priority is used in mapping from 802.3 packets to 802.11 packets when packets are sent to an AP from upper-layer devices.

Format

priority-map downstream trust { dot1p | dscp }

undo priority-map downstream trust

Parameters

Parameter

Description

Value

dot1p

Specifies the 802.1p priority as the trusted priority type used in mapping from 802.3 packets to 802.11 packets.

-

dscp

Specifies the DSCP priority as the trusted priority type used in mapping from 802.3 packets to 802.11 packets.

-

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 a WMM-capable STA carry the user priority (also called the User Priority field). On a wired network, VLAN packets carry the 802.1p priority and IP packets carry the DSCP priority. When data packets are forwarded from the AC or other upper-layer devices to an AP, the packets must be converted from 802.3 packets to 802.11 packets.

You can run the priority-map downstream trust command to configure a trusted priority type used in mapping from 802.3 packets to 802.11 packets when packets are sent to an AP from upper-layer devices.

Example

# In traffic profile p1, configure the 802.1p priority as the trusted priority type used in mapping from 802.3 packets to 802.11 packets when packets are sent to an AP from upper-layer devices.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] priority-map downstream trust dot1p

priority-map tunnel-upstream dot11e dscp

Function

The priority-map tunnel-upstream dot11e dscp command configures mapping from the user priority of 802.11 packets to the DSCP priority of tunnel packets when packets are sent to the AC from an AP.

The undo priority-map tunnel-upstream dot11e dscp command restores the default mapping from the user priority of 802.11 packets to the DSCP priority of tunnel packets when packets are sent to the AC from an AP.

Table 11-130 describes the default mapping from the user priority of 802.11 packets to the DSCP priority of tunnel packets.
NOTE:
The CAPWAP header refers to the tunnel header.
Table 11-130  Default mapping from the user priority of 802.11 packets to the DSCP priority in the CAPWAP header

User Priority of 802.11 Packets

DSCP Priority in the CAPWAP Header

0

0

1

8

2

16

3

24

4

32

5

40

6

48

7

56

Format

priority-map tunnel-upstream dot11e { dot11e-value1 [ to dot11e-value2 ] } &<1-7> dscp dscp-value

undo priority-map tunnel-upstream dot11e to dscp

Parameters

Parameter

Description

Value

dot11e dot11e-value1

Specifies the user priority of 802.11 packets.

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

to dot11e-value2

Specifies the user priority of 802.11 packets.

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

The value of dot11e-value2 must be larger than that of dot11e-value1.

dscp dscp-value

Specifies the DSCP priority of tunnel packets.

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

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To provide QoS guarantee for data packets of different users when packets are transmitted over a tunnel, configure a specific tunnel priority or priority mapping.

802.11 packets sent from a WMM-capable STA carry the user priority (Layer 2) or DSCP priority (Layer 3), and tunnel packets carry the 802.1p priority (Layer 2) or tunnel DSCP priority (Layer 3). 802.11 packets sent to the AC from an AP must be converted into tunnel packets.

You can run the priority-map tunnel-upstream dot11e dscp command to configure mapping from the user priority of 802.11 packets to the DSCP priority of tunnel packets when packets are sent to the AC from an AP.

Precautions

The tunnel priority mapping is applicable to scenarios where data packets are sent in tunnel forwarding mode.

Example

# In traffic profile p1, configures mapping from user priority 6 of 802.11 packets to DSCP priority 1 of tunnel packets when packets are sent to the AC from an AP.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1 
[HUAWEI-wlan-traffic-prof-p1] priority-map tunnel-upstream dot11e 6 dscp 1

priority-map tunnel-upstream dot11e dot1p

Function

The priority-map tunnel-upstream dot11e dot1p command configures mapping from user priorities of 802.11 packets to 802.1p priorities of tunnel packets when packets are sent to the AC from an AP.

The undo priority-map tunnel-upstream dot11e dot1p command restores the default mapping from user priorities of 802.11 packets to 802.1p priorities of tunnel packets when packets are sent to the AC from an AP.

By default, user priority 0 of 802.11 packets maps to 802.1p priority 0 of tunnel packets, user priority 1 to 802.1p priority 1, and similarly, user priority 7 to 802.1p priority 7.

Format

priority-map tunnel-upstream dot11e { dot11e-value1 [ to dot11e-value2 ] } &<1-7> dot1p dot1p-value

undo priority-map tunnel-upstream dot11e to dot1p

Parameters

Parameter

Description

Value

dot11e dot11e-value1

Specifies the 802.11 user priority.

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

to dot11e-value2

Specifies the 802.11 user priority.

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

dot11e-value2 must be greater than dot11e-value1.

dot1p dot1p-value

Specifies the 802.1p priority in a tunnel packet.

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

Usage Scenario

To provide QoS guarantee for data packets of different users when packets are transmitted over a tunnel, configure a specific tunnel priority or priority mapping.

802.11 packets sent from a WMM-capable STA carry user priorities (Layer 2 priorities) or DSCP priorities (Layer 3 priorities). Tunnel packets carry 802.1p priorities (Layer 2 priorities) or DSCP priorities (Layer 3 priorities). When data packets are sent from APs to the AC, 802.11 packets need to be converted to tunnel packets.

You can run the priority-map tunnel-upstream dot11e dot1p command to configure mapping from user priorities of 802.11 packets to 802.1p priorities of tunnel packets when packets are sent to the AC from an AP.

Precautions

The tunnel priority mapping is applicable to scenarios where data packets are sent in tunnel forwarding mode.

Example

# In traffic profile p1, map user priority 6 of 802.11 packets to 802.1p priority 1 of tunnel packets when data is sent from APs to the AC.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1 
[HUAWEI-wlan-traffic-prof-p1] priority-map tunnel-upstream dot11e 6 dot1p 1

priority-map tunnel-upstream dscp dot1p

Function

The priority-map tunnel-upstream dscp dot1p command configures mapping from DSCP priorities of 802.11 packets to 802.1p priorities of tunnel packets when packets are sent to the AC from an AP.

The undo priority-map tunnel-upstream dscp dot1p command restores the default mapping from DSCP priorities of 802.11 packets to 802.1p priorities of tunnel packets when packets are sent to the AC from an AP.

Table 11-131 describes the default mapping from DSCP priorities of 802.11 packets to 802.1p priorities of tunnel packets.
NOTE:
The CAPWAP header refers to the tunnel header.
Table 11-131  Default mapping from DSCP priorities of 802.11 packets to 802.1p priorities of in CAPWAP headers

DSCP Priority of 802.11 Packets

802.1p Priority in the CAPWAP Header

0-7

0

8-15

1

16-23

2

24-31

3

32-39

4

40-47

5

48-55

6

56-63

7

Format

priority-map tunnel-upstream dscp { dscp-value1 [ to dscp-value2 ] } &<1-10> dot1p dot1p-value

undo priority-map tunnel-upstream dscp to dot1p

Parameters

Parameter

Description

Value

dscp dscp-value1

Specifies the DSCP priority of 802.11 packets.

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

to dscp-value2

Specifies the DSCP priority of 802.11 packets.

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

dscp-value2 must be greater than dscp-value1.

dot1p dot1p-value

Specifies the 802.1p priority in a tunnel packet.

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

Usage Scenario

To provide QoS guarantee for data packets of different users when packets are transmitted over a tunnel, configure a specific tunnel priority or priority mapping.

802.11 packets sent from a WMM-capable STA carry user priorities (Layer 2 priorities) or DSCP priorities (Layer 3 priorities). Tunnel packets carry 802.1p priorities (Layer 2 priorities) or DSCP priorities (Layer 3 priorities). When data packets are sent from APs to the AC, 802.11 packets need to be converted to tunnel packets.

You can run the priority-map tunnel-upstream dscp dot1p command to configure mapping from DSCP priorities of 802.11 packets to 802.1p priorities of tunnel packets when packets are sent to the AC from an AP.

Precautions

The tunnel priority mapping is applicable to scenarios where data packets are sent in tunnel forwarding mode.

Example

# In traffic profile p1, map DSCP priorities 0 to 7 of 802.11 packets to 802.1p priority 1 of tunnel packets when data is sent from APs to the AC.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1 
[HUAWEI-wlan-traffic-prof-p1] priority-map tunnel-upstream dscp 0 to 7 dot1p 1

priority-map tunnel-upstream dscp tunnel-dscp

Function

The priority-map tunnel-upstream dscp tunnel-dscp command configures mapping from the DSCP priority of 802.11 packets to the DSCP priority of tunnel packets when packets are sent to the AC from an AP.

The undo priority-map tunnel-upstream dscp tunnel-dscp command restores the default mapping from the DSCP priority of 802.11 packets to the DSCP priority of tunnel packets when packets are sent to the AC from an AP.

By default, DSCP priority 1 of 802.11 packets maps DSCP priority 1 of tunnel packets, DSCP priority 2 of 802.11 packets maps DSCP priority 2 of tunnel packets, and so on. DSCP priority 63 of 802.11 packets maps DSCP priority 63 of tunnel packets.

Format

priority-map tunnel-upstream dscp { dscp-value [ to dscp-value1 ] } &<1-10> tunnel-dscp dscp-value2

undo priority-map tunnel-upstream dscp to tunnel-dscp

Parameters

Parameter

Description

Value

dscp dscp-value

Specifies the DSCP priority of 802.11 packets.

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

to dscp-value1

Specifies the DSCP priority of 802.11 packets.

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

The value of dscp-value1 must be larger than that of dscp-value.

tunnel-dscp dscp-value2

Specifies the DSCP priority of tunnel packets.

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

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To provide QoS guarantee for data packets of different users when packets are transmitted over a tunnel, configure a specific tunnel priority or priority mapping.

802.11 packets sent from a WMM-capable STA carry the user priority (Layer 2) or DSCP priority (Layer 3), and tunnel packets carry the 802.1p priority (Layer 2) or tunnel DSCP priority (Layer 3). 802.11 packets sent to the AC from an AP must be converted into tunnel packets.

You can run the priority-map tunnel-upstream dscp tunnel-dscp command to configure mapping from the DSCP priority of 802.11 packets to the DSCP priority of tunnel packets when packets are sent to the AC from an AP.

Precautions

The tunnel priority mapping is applicable to scenarios where data packets are sent in tunnel forwarding mode.

Example

# In traffic profile p1, configures mapping from DSCP priority 6 of 802.11 packets to DSCP priority 1 of tunnel packets when packets are sent to the AC from an AP.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1 
[HUAWEI-wlan-traffic-prof-p1] priority-map tunnel-upstream dscp 6 tunnel-dscp 1

priority-map tunnel-upstream trust

Function

The priority-map tunnel-upstream trust command configures a trusted priority type used in mapping from 802.11 packets to tunnel packets when packets are sent to the AC from an AP.

The undo priority-map tunnel-upstream trust command restores the default trusted priority type used in mapping from 802.11 packets to tunnel packets when packets are sent to the AC from an AP.

By default, the 802.11e priority is used in mapping from 802.11 packets to tunnel packets when packets are sent to the AC from an AP.

Format

priority-map tunnel-upstream trust { dot11e | dscp }

undo priority-map tunnel-upstream trust

Parameters

Parameter

Description

Value

dot11e

Specifies the 802.11e priority as the trusted priority type used in mapping from 802.11 packets to tunnel packets.

-

dscp

Specifies the DSCP priority as the trusted priority type used in mapping from 802.11 packets to tunnel packets.

-

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To provide QoS guarantee for data packets of different users when packets are transmitted over a tunnel, configure a specific tunnel priority or priority mapping.

802.11 packets sent from a WMM-capable STA carry the user priority (Layer 2) or DSCP priority (Layer 3), and tunnel packets carry the 802.1p priority (Layer 2) or tunnel DSCP priority (Layer 3). 802.11 packets sent to the AC from an AP must be converted into tunnel packets.

You can run the priority-map tunnel-upstream trust command to configure a trusted priority type used in mapping from 802.11 packets to tunnel packets when packets are sent to the AC from an AP.

Precautions

The tunnel priority mapping is applicable to scenarios where data packets are sent in tunnel forwarding mode.

Example

# In traffic profile p1, configure the DSCP priority as the trusted priority type used in mapping from 802.11 packets to tunnel packets when packets are sent to the AC from an AP.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] priority-map tunnel-upstream trust dscp

priority-map upstream trust

Function

The priority-map upstream trust command configures the priority mapping mode from 802.11 packets to 802.3 packets when packets are sent from an AP to upper-layer devices.

The undo priority-map upstream trust command restores the default priority mapping mode from 802.11 packets to 802.3 packets when packets are sent from an AP to upper-layer devices.

By default, the 802.11e priority is mapped from 802.11 packets to 802.3 packets when packets are sent from an AP to upper-layer devices.

Format

priority-map upstream trust { dot11e | dscp }

undo priority-map upstream trust

Parameters

Parameter

Description

Value

dot11e

Specifies the mapping from the user priority of 802.11 packets to the DSCP and 802.11p priorities of 802.3 packets.

-

dscp

Specifies the DSCP priority mapping from 802.11 packets to 802.3 packets.

-

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

802.3 and 802.11 data packets use different fields to identify their priorities. 802.11 packets sent from a WMM-capable STA carry the user priority (also called the User Priority field), and IP packets transmitted on an Ethernet carry the DSCP priority (also called the ToS field). When data packets are forwarded from an AP to an AC or the upper-layer network, 802.3 packets need to be converted into 802.11 packets. During the conversion, the user priority of 802.11 packets is mapped to the ToS field in the IP packet header.

Currently, the priority mappings are fixed and described in the following table.
Table 11-132  Mapping between the DSCP and 802.11p priorities

DSCP Priority of 802.11 Packets

802.1p Priority of 802.3 Packets

0-7

0

8-15

1

16-23

2

24-31

3

32-39

4

40-47

5

48-55

6

56-63

7

Table 11-133  Mapping from the user priority to the 802.1p and DSCP priorities

User Priority of 802.11 Packets

DSCP Priority of 802.3 Packets

802.1p Priority of 802.3 Packets

0

0

0

1

8

1

2

16

2

3

24

3

4

32

4

5

40

5

6

48

6

7

56

7

Example

# Configure the DSCP priority mapping from 802.11 packets to 802.3 packets in the traffic profile p1.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] priority-map upstream trust dscp

qos car (SSID profile view)

Function

The qos car command configures QoS CAR parameters.

The undo qos car command deletes the configured QoS CAR parameters.

By default, no QoS CAR parameters are configured in an SSID profile.

Format

qos car inbound cir cir-value [ cbs cbs-value [ pbs pbs-value ] | pir pir-value [ cbs cbs-value pbs pbs-value ] ]

undo qos car inbound

Parameters

Parameter

Description

Value

inbound

Applies a QoS CAR profile to the inbound direction of an interface.

-

cir cir-value

Specifies the committed information rate (CIR), which is the average rate of traffic that can pass through an interface.

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

pir pir-value

Specifies the peak information rate (PIR), which is the maximum rate of traffic that can pass through.

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

The PIR value must be greater than or equal to the CIR value.

cbs cbs-value

Specifies the committed burst size (CBS), which is the average volume of burst traffic that can pass through an interface.

The value is an integer that ranges from 1500 to 4294967295, in bytes.

By default:
  • If the PIR value is not set, the CBS value is 188 times the CIR value. If the value 188 times the CIR exceeds the maximum value (4294967295) of the CBS, 4294967295 is used.
  • If the PIR is set, the CBS is 125 times the CIR. If the value 125 times the CIR exceeds the maximum value (4294967295) of the CBS, 4294967295 is used.

pbs pbs-value

Specifies the peak burst size (PBS), which is the maximum volume of burst traffic that can pass through an interface.

The value is an integer that ranges from 1500 to 4294967295, in bytes.

By default, if the PIR is set , the PBS is 125 times the PIR. If the value 125 times the PIR exceeds the maximum value (4294967295) of the PBS, 4294967295 is used.

Views

SSID profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Traffic policing discards excess traffic to limit incoming and outgoing traffic within a proper range and to protect network resources.

When traffic is transmitted from a high-speed link to a low-speed link, the inbound interface of the low-speed link is prone to severe data loss. The data traffic rate needs to be limited. To solve this problem, configure traffic policing for outgoing traffic on the interface of the high-speed link. The interface then discards the packets whose rate exceeds the traffic policing rate, limiting the outgoing traffic rate in a proper range. You can also configure traffic policing for incoming traffic on the interface of the low-speed link. The interface then discards the received packets whose rate exceeds the traffic policing rate.

The packet color is determined by parameters cbs cbs-value and pbs pbs-value of this command.
  • When the size of a packet is less than the CBS value, the packet is colored green.
  • When the size of a packet is greater than or equal to the CBS value but less than the PBS value, the packet is colored yellow.
  • When the size of a packet is greater than or equal to the PBS value, the packet is colored red.

QoS CAR parameters can be configured in an SSID profile to implement traffic policing on user traffic on all VAPs to which the user profile is applied. These VAPs share a token bucket, and more VAPs indicate fewer network resources that each VAP can occupy.

Precautions

QoS CAR parameters configured in an SSID profile are valid only when the service data forwarding mode is set to tunnel forwarding.

When the traffic policing rate is greater than the maximum rate of an interface, traffic policing does not take effect on the interface. Set the value of cir-value smaller than the rate of the interface.

When the CBS value is smaller than the number of bytes in a packet, packets of this type are discarded.

To ensure that the device correctly identifies packet colors, you are advised to set the PBS value greater than the CBS value.

Example

# Configure traffic policing parameters for incoming packets.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name p1
[HUAWEI-wlan-ssid-prof-p1] qos car inbound cir 64 cbs 9000 pbs 18000

rate-limit

Function

The rate-limit command configures the rate limit for upstream and downstream packets of all STAs or each STA on a VAP.

The undo rate-limit command restores the default rate limit for upstream and downstream packets of all STAs or each STA on a VAP.

By default, the rate limit for upstream and downstream packets of all STAs on a VAP is 4294967295 kbit/s, and that of each STA is 4294967295 kbit/s.

Format

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

undo rate-limit { client | vap } { up | down }

Parameters

Parameter

Description

Value

client

Specifies a STA on a VAP.

-

vap

Specifies all STAs on a VAP.

-

up

Specifies the rate limit for upstream packets on a VAP.

-

down

Specifies the rate limit for downstream packets on a VAP.

-

rate-value

Specifies the limited rate of packets.

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 command to limit the rate of upstream and downstream packets for all STAs or each STA on a VAP to protect network bandwidth resources.

Precautions

The limited rate does not take effect for STAs that go online before the rate-limit command is configured. To make this configuration take effect for a STA, enable the STA to go online again.

Example

# Set the limited rate of upstream packets to 4294967295 kbit/s for all STAs on a VAP in the traffic profile p1.

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

svp-voice enable

Function

The svp-voice enable command enables the Spectralink Voice Priority (SVP) voice traffic optimization function.

The undo svp-voice enable command disables the SVP voice traffic optimization function.

By default, the SVP voice traffic optimization function is disabled.

Format

svp-voice enable

undo svp-voice enable

Parameters

None

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

SpectraLink Voice is a voice protocol defined by Spectralink (a Wi-Fi phone company). To ensure Spectralink voice transmission quality on WLANs, SpectraLink defines SpectraLink Voice Priority (SVP) to describe the requirements of SpectraLink Voice on WLANs.

On a WLAN with STAs supporting the SpectraLink Voice protocol, you are advised to enable the SVP voice traffic optimization function.

Example

# Enable the SVP voice traffic optimization function.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] svp-voice enable

traffic-filter (traffic profile view)

Function

The traffic-filter command configures ACL-based packet filtering in a traffic profile.

The undo traffic-filter command cancels configuration of ACL-based packet filtering in a traffic profile.

By default, ACL-based packet filtering is not configured in a traffic profile.

Format

traffic-filter { inbound | outbound } ipv4 acl { acl-number | name acl-name }

undo traffic-filter { inbound | outbound } ipv4 acl { acl-number | name acl-name }

Parameters

Parameter

Description

Value

inbound

Configures ACL-based packet filtering in the inbound direction.

-

outbound

Configures ACL-based packet filtering in the outbound direction.

-

ipv4

Configures ACL-based IPv4 packet filtering.

-

acl acl-number

Specifies the number of an ACL.

The value is an integer that ranges from 3000 to 3031 and from 6000 to 6031 for IPv4 ACLs.
  • 3000 to 3031: advanced ACLs
  • 6000 to 6031: user ACLs

name acl-name

Filters packets based on a specified named ACL. acl-name indicates an ACL name.

The value is a string of 1 to 65 case-sensitive characters without spaces and must begin with a letter.

The value range of acl-number corresponding to acl-name is 3000 to 3031, and 6000 to 6031.

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a wireless network, administrators want to provide differentiated services for wireless users. The services may include, but are not limited to the following:
  • Deny or permit access of specified wireless users to specified LAN devices.
  • Deny access of specified wireless users to specified invalid IP addresses.
You can configure ACL-based packet filtering in a traffic profile for providing differentiated services to wireless users based on ACL rules.

When the traffic-filter command is configured in the traffic profile view, the device first matches packets against ACLs and then perform the action according to the matched policy.

When multiple traffic-filter commands are configured for ACL-based packet filtering in the same direction in the same traffic profile, packets are matched against the next rule in the sequence in which the commands are configured. If packets match a rule, the device executes the specified policy and stops the matching process. Otherwise, the device continues to match packets against the next rule. If no rule is matched, the packets are allowed to pass through.

If an ACL contains multiple rules, packets match against the rules in the ascending order of rule IDs. If packets match a rule, the device considers that the ACL is matched and stops the matching process. Otherwise, the device continues to match packets against the next rule. If no rule is matched, the device considers that this ACL is not matched. To improve match efficiency, you are advised to configure an ACL rule with a high match probability first and set a small ID for the rule. This will reduce the number of times ACL rules are matched and save resources.

Prerequisites

An ACL rule has been created before this command is run.

Precautions

The traffic-filter command can reference a numbered ACL rule that is not configured. You can configure the referenced ACL rule after running this command.

You can only configure a maximum of eight ACL rules in the same direction. The sequence in which ACL rules takes effect follows the sequence in which the rules are configured. To change the current packet filtering rules, delete all the related configurations and reconfigure the ACL-based packet filtering.

Example

# Create the traffic profile p1 and configure packet filtering in the inbound direction based on the ACL that permits packets with the source IPv4 address 192.168.0.2/32.

<HUAWEI> system-view
[HUAWEI] acl 3000
[HUAWEI-acl-adv-3000] rule 5 permit ip source 192.168.0.2 0
[HUAWEI-acl-adv-3000] quit
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] traffic-filter inbound ipv4 acl 3000

traffic-profile (WLAN view)

Function

The traffic-profile command creates a traffic profile and displays the traffic profile view, or displays the view of an existing traffic profile.

The undo traffic-profile command deletes a traffic profile.

By default, the system provides the traffic profile default.

Format

traffic-profile name profile-name

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

Parameters

Parameter

Description

Value

name profile-name

Specifies the name of a traffic profile.

The value is a string of 1 to 35 case-insensitive characters. It does not contain question marks (?) or spaces, and cannot start 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 priority mapping and traffic suppression functions to a VAP, create a traffic profile and bind the traffic profile to the VAP profile.
    • To change 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, parameters in the profile use default values.
NOTE:
  • The profile name is mandatory when you create a profile.
  • The traffic profile referenced by a VAP profile cannot be deleted. To delete the traffic profile, unbind it from the VAP profile first.

Example

# Create 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]

traffic-profile (VAP profile view)

Function

The traffic-profile command binds a traffic profile to a VAP profile.

The undo traffic-profile command unbinds a traffic profile from a VAP profile.

By default, the traffic profile default is bound to a VAP profile.

Format

traffic-profile profile-name

undo traffic-profile

Parameters

Parameter

Description

Value

profile-name

Specifies the name of a traffic profile.

The traffic profile must exist.

Views

VAP profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can use the traffic-profile command to bind a traffic profile to a VAP profile. The traffic profile applies to all users using the VAP profile.

Prerequisites

The traffic profile has been created using the traffic-profile (WLAN view) command.

Example

# Create VAP profile p1 and bind traffic profile u1 to the VAP profile.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-profile name p1
[HUAWEI-wlan-vap-prof-p1] traffic-profile u1

traffic-remark (traffic profile view)

Function

The traffic-remark command configures ACL-based priority re-marking in a traffic profile.

The undo traffic-remark command cancels ACL-based priority re-marking in a traffic profile.

By default, ACL-based priority re-marking is not configured in a traffic profile.

Format

traffic-remark { inbound | outbound } ipv4 acl { acl-number | name acl-name } { dot11e dot11e-value | dscp dscp-value }

undo traffic-remark { inbound | outbound } ipv4 acl { acl-number | name acl-name }

Parameters

Parameter

Description

Value

inbound

Configures ACL-based priority re-marking in the inbound direction.

-

outbound

Configures ACL-based priority re-marking in the outbound direction.

-

ipv4

Configures priority re-marking for IPv4 packets.

-

acl acl-number

Specifies the number of an ACL.

The value is an integer that ranges from 3000 to 3031 and from 6000 to 6031 for IPv4 ACLs.
  • 3000 to 3031: advanced ACLs
  • 6000 to 6031: user ACLs

name acl-name

Re-marks packet priorities based on a specified named ACL. acl-name indicates an ACL name.

The value is a string of 1 to 32 case-sensitive characters without spaces and must begin with a letter.

The value range of acl-number mapping acl-name is 3000 to 3031, and 6000 to 6031.

dot11e dot11e-value

Re-marks the 802.11e priority of packets.

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

dscp dscp-value

Re-marks the DSCP priorities of packets.

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

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The user wants to re-mark packet priorities based on ACLs to provide differentiated services. The traffic-remark command can be used to configure ACL-based priority re-marking.

Prerequisites

An ACL rule has been created before this command is run.

Precautions

The traffic-remark command can reference a numbered ACL rule that is not configured. You can configure the referenced ACL rule after running this command.

You can only configure a maximum of eight ACL-based packet re-marking rules in the same direction. The sequence in which ACL rules takes effect follows the rule configuration sequence. To change the current packet re-marking rules, delete all the related configurations and reconfigure the ACL-based packet re-marking.

When the traffic-remark command and the traffic-filter (traffic profile view) command are used simultaneously and the same ACL rule is associated:

  • If the deny action is configured in the ACL rule, the traffic-remark command does not take effect.
  • If the permit action is configured in the ACL rule, the command that is executed first takes effect.

Example

# Create the traffic profile p1 and configure ACL-based 802.11e priority re-marking for IPv4 packets in the inbound direction.

<HUAWEI> system-view
[HUAWEI] acl 3000
[HUAWEI-acl-adv-3000] rule 5 permit ip source 192.168.0.2 0
[HUAWEI-acl-adv-3000] quit
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] traffic-remark inbound ipv4 acl 3000 dot11e 7

ucc-profile (system view)

Function

The ucc-profile command creates a UCC profile and displays the UCC profile view, or displays the view of an existing UCC profile.

The undo ucc-profile command deletes a UCC profile.

By default, no UCC profile is created.

Format

ucc-profile name profile-name

undo ucc-profile { name profile-name | all }

Parameters

Parameter

Description

Value

name profile-name

Specifies the name of a UCC profile.

The value is a string of 1 to 31 case-sensitive characters without spaces. The string must start with a letter.

all

Indicates all UCC profiles.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Microsoft Lync is a set of communication software that provides voice, video, desktop sharing, and file transfer functions. To ensure QoS guarantee for Lync packets and improve user experience, set the priority of Lync packets in the UCC profile.

Follow-up Procedure

Configure priorities of Lync voice, video, desktop sharing, and file transfer packets in the UCC profile and bind the UCC profile to a VAP profile.

Precautions

The UCC profile that has been bound to a VAP profile cannot be deleted. To delete the UCC profile, unbind the UCC profile from the VAP profile.

Example

# Create a UCC profile named test and enter the UCC profile view.

<HUAWEI> system-view
[HUAWEI] ucc-profile name test
[HUAWEI-ucc-prof-test]

ucc-profile (VAP profile view)

Function

The ucc-profile command binds a UCC profile to a VAP profile.

The undo ucc-profile command unbinds a UCC profile from a VAP profile.

By default, no UCC profile is bound to a VAP profile.

Format

ucc-profile profile-name

undo ucc-profile

Parameters

Parameter

Description

Value

profile-name

Specifies the name of a UCC profile.

The UCC profile name must exist.

Views

VAP profile view

Default Level

2: Configuration level

Usage Guidelines

After a UCC profile is created, run the ucc-profile command to bind the UCC profile to a VAP profile so that the actions in the UCC profile take effect.

Example

# Create a UCC profile named test and bind the UCC profile to the VAP profile vap1.

<HUAWEI> system-view
[HUAWEI] ucc-profile name test
[HUAWEI-ucc-prof-test] quit
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-profile name vap1
[HUAWEI-wlan-vap-prof-vap1] ucc-profile test

user-isolate (traffic profile view)

Function

The user-isolate command enables user isolation.

The undo user-isolate command disables user isolation.

By default, user isolation is disabled in a traffic profile.

Format

user-isolate l2

undo user-isolate

Parameters

Parameter

Description

Value

l2

Indicates user isolation at Layer 2 and communication at Layer 3.

-

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a traffic profile, user isolation prevents packets of users on a VAP from being forwarded to each other. That is, users on a VAP cannot communicate with each other after user isolation is enabled. This improves user communication security and enables the gateway to centrally forward user traffic, facilitating user management.

  • In tunnel forwarding mode, user isolation in the traffic profile implements Layer 2 or Layer 3 isolation for all users on a VAP.
  • In direct forwarding mode, when enabling user isolation in the traffic profile, it is recommended that port isolation be deployed on the access switch port connected to the AP.

Example

# Configure Layer 2 isolation and Layer 3 communication in the traffic profile p1.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] user-isolate l2

video remark

Function

The video remark command sets a priority for Lync video packets.

The undo video remark command deletes the priority of Lync video packets.

By default, the priority of Lync video packets is not set.

Format

video remark { 8021p 8021p-value | dscp { dscp-value | dscp-name } | local-precedence { local-precedence-value | local-precedence-name } }

undo video remark { 8021p | dscp | local-precedence }

Parameters

Parameter

Description

Value

8021p 8021p-value

Specifies the 802.1p priority.

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

dscp { dscp-value | dscp-name }

Specifies the DSCP priority.

The value is a Diff-Serv code that is an integer ranging from 0 to 63, or a DSCP service type that can be af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs1 to cs7, default, or ef.

The values of service types are as follows:

  • af11: 10
  • af12: 12
  • af13: 14
  • af21: 18
  • af22: 20
  • af23: 22
  • af31: 26
  • af32: 28
  • af33: 30
  • af41: 34
  • af42: 36
  • af43: 38
  • cs1: 8
  • cs2: 16
  • cs3: 24
  • cs4: 32
  • cs5: 40
  • cs6: 48
  • cs7: 56
  • default: 0
  • ef: 46
local-precedence { local-precedence-value | local-precedence-name }

Specifies the local priority.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority. Or, the value is a service type that can be af1, af2, af3, af4, be, cs6, cs7, or ef.

The values of service types are as follows:

  • af1: 1
  • af2: 2
  • af3: 3
  • af4: 4
  • be: 0
  • cs6: 6
  • cs7: 7
  • ef: 5

Views

UCC profile view

Default Level

2: Configuration level

Usage Guidelines

Application Scenarios

Microsoft Lync is a set of communication software that provides voice, video, desktop sharing, and file transfer functions. You can run the video remark command to change the priority of Lync video packets.

Precautions

The 802.1p priority and local priority cannot be set for the Lync video packets of one Lync session.

If you run the video remark command in the same UCC profile view multiple times to set the 802.1p priority, DSCP priority, or local priority of Lync video packets, only the latest configuration takes effect.

Example

# Set the DSCP priority of Lync video packets to 1 in the UCC profile test.

<HUAWEI> system-view
[HUAWEI] ucc-profile name test
[HUAWEI-ucc-prof-test] video remark dscp 1

voice remark

Function

The voice remark command sets a priority for Lync voice packets.

The undo voice remark command deletes the priority of Lync voice packets.

By default, the priority of Lync voice packets is not set.

Format

voice remark { 8021p 8021p-value | dscp { dscp-value | dscp-name } | local-precedence { local-precedence-value | local-precedence-name } }

undo voice remark { 8021p | dscp | local-precedence }

Parameters

Parameter

Description

Value

8021p 8021p-value

Specifies the 802.1p priority.

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

dscp { dscp-value | dscp-name }

Specifies the DSCP priority.

The value is a Diff-Serv code that is an integer ranging from 0 to 63, or a DSCP service type that can be af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs1 to cs7, default, or ef.

The values of service types are as follows:

  • af11: 10
  • af12: 12
  • af13: 14
  • af21: 18
  • af22: 20
  • af23: 22
  • af31: 26
  • af32: 28
  • af33: 30
  • af41: 34
  • af42: 36
  • af43: 38
  • cs1: 8
  • cs2: 16
  • cs3: 24
  • cs4: 32
  • cs5: 40
  • cs6: 48
  • cs7: 56
  • default: 0
  • ef: 46
local-precedence { local-precedence-value | local-precedence-name }

Specifies the local priority.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority. Or, the value is a service type that can be af1, af2, af3, af4, be, cs6, cs7, or ef.

The values of service types are as follows:

  • af1: 1
  • af2: 2
  • af3: 3
  • af4: 4
  • be: 0
  • cs6: 6
  • cs7: 7
  • ef: 5

Views

UCC profile view

Default Level

2: Configuration level

Usage Guidelines

Application Scenarios

Microsoft Lync is a set of communication software that provides voice, video, desktop sharing, and file transfer functions. You can run the voice remark command to change the priority of Lync voice packets.

Precautions

The 802.1p priority and local priority cannot be set for the Lync voice packets of one Lync session.

If you run the voice remark command in the same UCC profile view multiple times to set the 802.1p priority, DSCP priority, or local priority of Lync voice packets, only the latest configuration takes effect.

Example

# Set the DSCP priority of Lync voice packets to 1 in the UCC profile test.

<HUAWEI> system-view
[HUAWEI] ucc-profile name test
[HUAWEI-ucc-prof-test] voice remark dscp 1

wmm edca-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-134 lists the default EDCA parameter settings and ACK policies for APs.
Table 11-134  Default EDCA parameter settings and ACK policies 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-value. ecwmin-value and ecwmax-value determine the average backoff time.

The value is an integer that ranges from 0 to 15 and be smaller than or equal to the ecwmax-value value.

ecwmax ecwmax-value

Specifies the ecwmax-value. ecwmax-value and ecwmin-value determine the average backoff time.

The value is an integer that ranges from 0 to 15 and must be greater than or equal to the ecwmin-value value.

txoplimit txoplimit-value

Specifies the txoplimit-value. The value determines the maximum duration in which an AP or a STA can occupy a channel. A larger txoplimit-value 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 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. Configure this parameter only in the good air interface environment. Otherwise, severe packet loss occurs.
-

Views

2G radio profile view, 5G radio 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

  • The EDCA parameters configured for the four AC queues take effect only after the WMM function is enabled. By default, the WMM function is enabled in a 2G or 5G radio profile.
  • 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.
  • EDCA parameters must be configured properly. The scenarios for the reference EDCA parameter settings and ACK policies are as follows:
    1. Table 11-135 lists the reference EDCA parameter settings and ACK policies for APs in voice scenarios.
      Table 11-135  Reference EDCA parameter settings and ACK policies for APs in voice scenarios
      Packet Type ECWmax ECWmin AIFSN TXOPLimit ACK Policy
      AC_VO 4 2 2 0 normal
      AC_VI 5 3 5 0 normal
      AC_BE 10 6 5 0 normal
      AC_BK 10 8 12 0 normal
    2. Table 11-136 lists the reference EDCA parameter settings and ACK policies for APs in voice and video scenarios.
      Table 11-136  Reference EDCA parameter settings and ACK policies for APs in voice and video scenarios
      Packet Type ECWmax ECWmin AIFSN TXOPLimit ACK Policy
      AC_VO 4 2 2 0 normal
      AC_VI 5 3 5 0 normal
      AC_BE 10 6 12 0 normal
      AC_BK 10 8 12 0 normal
    3. In high-density scenarios, it is recommended that you run the dynamic-edca enable command to enable dynamic EDCA parameter adjustment.
    4. For other scenarios, the default settings are recommended.

Example

# Set EDCA parameters and ACK policies for AC_VO packets in 5G radio profile default.

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

wmm edca-client (SSID profile view)

Function

The wmm edca-client command configures EDCA parameters for STAs.

The undo wmm edca-client command restores the default EDCA parameter settings of STAs.

Table 11-137 lists the default EDCA parameter settings for STAs.
Table 11-137  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 arbitration inter frame spacing number (AIFSN), which determines the channel idle time.

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

ecwmin ecwmin-value

Specifies the exponent form of the minimum contention window. ecwmin-value and ecwmax-value determine the average backoff time.

The value is an integer that ranges from 0 to 15 and must be smaller than or equal to the ecwmax-value value.

ecwmax ecwmax-value

Specifies the exponent form of the maximum contention window. ecwmin-value and ecwmax-value determine the average backoff time.

The value is an integer that ranges from 0 to 15 and must be greater than or equal to the ecwmin-value value.

txoplimit txoplimit-value

Specifies the transmission opportunity limit (TXOPLimit), which determines the maximum duration in which 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.
NOTE:

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

Views

SSID 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 differentiated priorities to the packets and different capabilities to compete for channels. In this way, differentiated services are implemented.

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

Parameter

Meaning

Arbitration Interframe 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. Together, they determine the average backoff time. Large ECWmin and ECWmax values mean a long average backoff time for the STA and a low STA priority.

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 only send one data frame every time it preempts a channel.

Precautions

  • The EDCA parameters configured for the four AC queues take effect only after the WMM function is enabled using the undo wmm disable 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.
  • EDCA parameters must be configured properly. The scenarios for the reference EDCA parameter settings and ACK policies are as follows:
    1. Table 11-139 lists the reference EDCA parameter settings and ACK policies for APs in voice scenarios.
      Table 11-139  Reference EDCA parameter settings and ACK policies for APs in voice scenarios
      Packet Type ECWmax ECWmin AIFSN TXOPLimit ACK Policy
      AC_VO 4 2 2 0 normal
      AC_VI 5 3 5 0 normal
      AC_BE 10 6 5 0 normal
      AC_BK 10 8 12 0 normal
    2. Table 11-140 lists the reference EDCA parameter settings and ACK policies for APs in voice and video scenarios.
      Table 11-140  Reference EDCA parameter settings and ACK policies for APs in voice and video scenarios
      Packet Type ECWmax ECWmin AIFSN TXOPLimit ACK Policy
      AC_VO 4 2 2 0 normal
      AC_VI 5 3 5 0 normal
      AC_BE 10 6 12 0 normal
      AC_BK 10 8 12 0 normal
    3. In high-density scenarios, it is recommended that you run the dynamic-edca enable command to enable dynamic EDCA parameter adjustment.
    4. For other scenarios, the default settings are recommended.

Example

# Set EDCA parameters for AC_VO packets of STAs in SSID profile p1.

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

wmm disable

Function

The wmm disable command disables the Wi-Fi Multimedia (WMM) function in a 2G or 5G radio profile.

The undo wmm disable command enables the WMM function in a 2G or 5G radio profile.

By default, the WMM function is enabled in a 2G or 5G radio profile.

Format

wmm disable

undo wmm disable

Parameters

None

Views

2G radio profile view, 5G radio profile view

Default Level

2: Configuration level

Usage Guidelines

802.11n and 802.11ac STAs must support WMM. If the WMM function is disabled in a radio, 802.11n and 802.11ac cannot work and STAs can access the network only in 802.11a/b/g mode.

If the WMM function is disabled, the access of non-HT STAs fails to be denied.

After the WMM function is enabled in a 2G or 5G radio profile, the AP radio to which the 2G or 5G radio profile is applied can use the WMM parameters.

Example

# Enable the WMM function in 5G radio profile default.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-5g-profile name default
[HUAWEI-wlan-radio-5g-prof-default] undo wmm disable

wmm mandatory enable

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

2G radio profile view, 5G radio 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] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] wmm mandatory enable
Translation
Download
Updated: 2019-10-09

Document ID: EDOC1000178165

Views: 47395

Downloads: 1159

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