No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - WLAN-AC

S5700 and S6720 V200R012C00

This document describes the configurations of WLAN, including WLAN Service Configuration, Radio Resource Management, Roaming, WLAN QoS, WLAN Security, WDS, Mesh, Location, Hotspot 2.0, Dual-Link Cold Backup, N+1 Backup.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Priority Mapping

Priority Mapping

Packets of different types have different priorities. For example, 802.11 packets sent by STAs carry user priorities or DSCP priorities, VLAN packets on wired networks carry 802.1p priorities, and IP packets carry DSCP priorities. Priority mapping must be configured on network devices to retain the priorities of packets that traverse different networks.

Figure 9-4  Priority mapping diagram
As shown in Figure 9-4:
  1. In the upstream direction, the AP performs priority mapping of 802.11 packets received from STAs as follows:
    1. Maps the user or DSCP priority of 802.11 packets to the DSCP or 802.1p priority of tunnel packets.
    2. Maps the user priority of 802.11 packets to the DSCP or 802.1p priority of 802.3 packets.
    3. Maps the DSCP priority of 802.11 packets to the DSCP priority of 802.3 packets.
  2. In the downstream direction: The AC forwards 802.3 packets received from the Internet to the AP directly or through a tunnel. The AP maps the DSCP priority of the 802.3 packets to the user priority of 802.11 packets.

Precedence Field

As defined in RFC 791, the 8-bit ToS field in an IP packet header contains a 3-bit IP precedence field, as shown in Figure 9-5.

Figure 9-5  Precedence/DSCP field

Bits 0 to 2 constitute the Precedence field, representing precedence values 7, 6, 5, 4, 3, 2, 1 and 0 in descending order of priority.

Apart from the Precedence field, a ToS field also contains the following sub-fields:

  • Bit D indicates the delay. The value 0 represents a normal delay and the value 1 represents a short delay.

  • Bit T indicates the throughput. The value 0 represents normal throughput and the value 1 represents high throughput.

  • Bit R indicates the reliability. The value 0 represents normal reliability and the value 1 represents high reliability.

DSCP Field

RFC 1349 initially defined the ToS field in IP packets and added bit C. Bit C indicates the monetary cost. Later, the IETF DiffServ Working Group redefined bits 0 to 5 of a ToS field as the DSCP field in RFC 2474. In RFC 2474, the field name is changed from ToS to differentiated service (DS). Figure 9-5 shows the DSCP field in packets.

In the DS field, the first six bits (bits 0 to 5) are the DS Code Point (DSCP) and the last two bits (bits 6 and 7) are reserved. The first three bits (bits 0 to 2) are the Class Selector Code Point (CSCP), which represents the DSCP type. A DS node selects a Per-Hop Behavior (PHB) based on the DSCP value.

802.1p Field

Layer 2 devices exchange Ethernet frames. As defined in IEEE 802.1Q, the PRI field (802.1p field) in the Ethernet frame header identifies the Class of Service (CoS) requirement. Figure 9-6 shows the PRI field in Ethernet frames.

Figure 9-6  802.1p field in the VLAN frame header

The 802.1Q header contains a 3-bit PRI field, representing eight service priorities 7, 6, 5, 4, 3, 2, 1 and 0 in descending order of priority.

Updated: 2018-12-24

Document ID: EDOC1100038361

Views: 158590

Downloads: 436

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next