< Home

Configuring Priority Mapping

Pre-configuration Tasks

Before configuring priority mapping, perform the task of WLAN Service Configuration Guide.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan

    The WLAN view is displayed.

  3. Run traffic-profile name profile-name

    A traffic profile is created and the traffic profile view is displayed.

    By default, the system provides the traffic profile default.

  4. Configure priority mapping as required.

    • Configure priority mapping for packets sent to an AP from upper-layer devices.

      1. Run the priority-map downstream trust { dot1p | dscp } command to configure a trusted priority type used in mapping from 802.3 packets to 802.11 packets when packets are sent to an AP from upper-layer devices.

        By default, the DSCP priority is used in mapping from 802.3 packets to 802.11 packets when packets are sent to an AP from upper-layer devices.

      2. Configure priority mapping.

        • When the DSCP priority is specified as the trusted priority type, perform the following configuration:

          Run the priority-map downstream dscp { dscp-value1 [ to dscp-value2 ] } &<1-10> dot11e dot11e-value command to configure mapping from the DSCP priority of 802.3 packets to the user priority of 802.11 packets.

          Table 1 describes the default mapping from the DSCP priority of 802.3 packets to the user priority of 802.11 packets.
          Table 1 Default mapping from the DSCP priority of 802.3 packets to the user priority of 802.11 packets

          DSCP

          UP

          0-7

          0

          8-15

          1

          16-23

          2

          24-31

          3

          32-39

          4

          40-47

          5

          48-55

          6

          56-63

          7

        • When the 802.1p priority is specified as the trusted priority type, perform the following configuration:

          Run the priority-map downstream dot1p { dot1p-value1 [ to dot1p-value2 ] } &<1-7> dot11e dot11e-value command to configure mapping from the 802.1p priority of 802.3 packets to the user priority of 802.11 packets when packets are sent to an AP from upper-layer devices.

          By default, 802.1p priority 0 of 802.3 packets maps to user priority 0 of 802.11 packets, 802.1p priority 1 to user priority 1, and similarly, 802.1p priority 7 to user priority 7.

    • Configure tunnel priority mapping when data packets are sent from APs to an AC.

      The tunnel priority mapping is applicable to scenarios where data packets are sent in tunnel forwarding mode.

      1. Run the priority-map tunnel-upstream trust { dot11e | dscp } command to configure a trusted priority type used in mapping from 802.11 packets to tunnel packets.

        By default, the 802.11e priority is used in mapping from 802.11 packets to tunnel packets when packets are sent to the AC from an AP.

      2. Configure tunnel priority mapping.

        • When the 802.11 priority is specified as the trusted priority type, perform the following configuration:

          Run the priority-map tunnel-upstream dot11e { dot11e-value1 [ to dot11e-value2 ] } &<1-7> dscp dscp-value command to configure mapping from the user priority of 802.11 packets to the DSCP priority of tunnel packets.

          Table 2 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 2 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

          Run the priority-map tunnel-upstream dot11e { dot11e-value1 [ to dot11e-value2 ] } &<1-7> dot1p dot1p-value command to configure mapping from the user priority of 802.11 packets to the 802.1p priority of tunnel packets when packets are sent to an AC from an AP.

          By default, user priority 0 of 802.11 packets maps to 802.1p priority 0 of tunnel packets, user priority 1 to 802.1p priority 1, and similarly, user priority 7 to 802.1p priority 7.

        • When the DSCP priority is specified as the trusted priority type, perform the following configuration:

          Run the priority-map tunnel-upstream dscp { dscp-value [ to dscp-value1 ] } &<1-10> tunnel-dscp dscp-value2 command to configure mapping from the DSCP priority of 802.11 packets to the DSCP priority of tunnel packets.

          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.

          Run the priority-map tunnel-upstream dscp { dscp-value1 [ to dscp-value2 ] } &<1-10> dot1p dot1p-value command to configure mapping from the DSCP priority of 802.11 packets to the 802.1p priority of tunnel packets when packets are sent to an AC from an AP.

          Table 3 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 3 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

    • Configure packet priority mapping when packets are sent to an AC from an AP.

      Run the priority-map upstream trust { dot11e | dscp } command to configure mapping from the 802.11 packet priority to the 802.3 packet priority when packets are sent to an AC from an AP.

      By default, the 802.11e priority is mapped from 802.11 packets to 802.3 packets when packets are sent from an AP to upper-layer devices.

      Currently, the priority mappings are fixed and described in the following table.
      Table 4 Mapping between the DSCP and 802.11p priorities

      DSCP Priority of 802.11 Packets

      802.1p Priority of 802.3 Packets

      0-7

      0

      8-15

      1

      16-23

      2

      24-31

      3

      32-39

      4

      40-47

      5

      48-55

      6

      56-63

      7

      Table 5 Mapping from the user priority to the 802.1p and DSCP priorities

      User Priority of 802.11 Packets

      DSCP Priority of 802.3 Packets

      802.1p Priority of 802.3 Packets

      0

      0

      0

      1

      8

      1

      2

      16

      2

      3

      24

      3

      4

      32

      4

      5

      40

      5

      6

      48

      6

      7

      56

      7

  5. Run quit

    Return to the WLAN view.

  6. Run vap-profile name profile-name

    The VAP profile view is displayed.

  7. Run traffic-profile profile-name

    The traffic profile is bound to the VAP profile.

    By default, the traffic profile default is bound to a VAP profile.

Verifying the Configuration

  • Run the display traffic-profile { all | name profile-name } command to check the priority mapping configuration in a traffic profile.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >