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.
priority-map tunnel-upstream dot11e { dot11e-value1 [ to dot11e-value2 ] } &<1-7> dscp dscp-value
undo priority-map tunnel-upstream dot11e to dscp
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. |
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.
# 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