< Home

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.

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