< Home

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 1 describes the default mapping from DSCP priorities of 802.11 packets to 802.1p priorities of tunnel packets.
The CAPWAP header refers to the tunnel header.
Table 1 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 of tunnel 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

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