< Home

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 1 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 2 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >