< Home

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 1 describes the default mapping from the user priority of 802.11 packets to the DSCP priority of tunnel packets.
The CAPWAP header refers to the tunnel header.
Table 1 Default mapping from user priorities of 802.11 packets to DSCP priorities in CAPWAP headers

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.

dot11e-value2 must be greater than 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, configure 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >