Fortinet black logo

FortiWiFi and FortiAP Configuration Guide

Translating WiFi QoS WMM marking to DSCP values

Copy Link
Copy Doc ID c67ff8dd-1365-11ed-9eba-fa163e15d75b:908962
Download PDF

Translating WiFi QoS WMM marking to DSCP values

FortiGates can preserve the WiFi Multi-Media (WMM) QoS marking of packets by translating them to Differentiated Services Code Point (DSCP) values when forwarding upstream. When wireless client sends QOS type packets with WMM priority categories such as AC_VO, AC_VI, AC_BE, AC_BK, FortiAP can forward these packets by translating WMM to DSCP marking and transmit the packets from the Ethernet to their destination.

Use the following QoS profile CLI commands to implement this function:

config wireless-controller qos-profile
  edit qos-wifi
    set wmm-dscp-marking [enable/disable]
    enable     Enable WMM Differentiated Services Code Point (DSCP) marking.
    disable    Disable WMM Differentiated Services Code Point (DSCP) marking.
end

wmm-dscp-marking

Enable/disable WMM Differentiated Services Code Point (DSCP) marking (default = disable).

wmm-vo-dscp

DSCP marking for voice access (default = 48).

wmm-vi-dscp

DSCP marking for video access (default = 32).

wmm-be-dscp

DSCP marking for best effort access (default = 0).

wmm-bk-dscp

DSCP marking for background access (default = 8).

To configure WMM QoS marking of packets:
  1. Create a QoS profile with wmm-dscp-marking enabled, and modify the wmm-dscp settings.
    config wireless-controller qos-profile
      edit qos-wifi
        set wmm-dscp-marking enable
        set wmm-vo-dscp 44
        set wmm-vi-dscp 24
        set wmm-be-dscp 12
        set wmm-bk-dscp 6
    end
  2. Select the QoS profile on a VAP interface.
    config wireless-controller vap
      edit "stability3"
        set qos-profile "qos-wifi"
      next
    end
  3. Verify that the wmm-dscp-marking values are pushed on FortiAP.
    cw_diag -c k-qos wlan00
    WLAN Kernel QoS Settings
    ..
    ....
    WLAN wlan00 :
        wmm                         : 1
        wmm uapsd                   : 1
        call admission control      : 0
        call capacity               : 0
        bandwidth admission control : 0
        bandwidth capacity          : 0
        dscp mapping                : 0
        dscp marking                : 1
             vo dscp                : 44
             vi dscp                : 24
             be dscp                : 12
             bk dscp                : 6
  4. Verify that, when sending traffic from a client with a WMM setting of VO, the FortiGate receives the packets with a DSCP TID value or 44.

  5. Verify that, when sending traffic from a client with a WMM setting of VI, the FortiGate receives the packets with a DSCP TID value or 24.

  6. Verify that, when sending traffic from a client with a WMM setting of BE, the FortiGate receives the packets with a DSCP TID value or 12.

  7. Verify that, when sending traffic from a client with a WMM setting of BK, the FortiGate receives the packets with a DSCP TID value or 6.

Translating WiFi QoS WMM marking to DSCP values

FortiGates can preserve the WiFi Multi-Media (WMM) QoS marking of packets by translating them to Differentiated Services Code Point (DSCP) values when forwarding upstream. When wireless client sends QOS type packets with WMM priority categories such as AC_VO, AC_VI, AC_BE, AC_BK, FortiAP can forward these packets by translating WMM to DSCP marking and transmit the packets from the Ethernet to their destination.

Use the following QoS profile CLI commands to implement this function:

config wireless-controller qos-profile
  edit qos-wifi
    set wmm-dscp-marking [enable/disable]
    enable     Enable WMM Differentiated Services Code Point (DSCP) marking.
    disable    Disable WMM Differentiated Services Code Point (DSCP) marking.
end

wmm-dscp-marking

Enable/disable WMM Differentiated Services Code Point (DSCP) marking (default = disable).

wmm-vo-dscp

DSCP marking for voice access (default = 48).

wmm-vi-dscp

DSCP marking for video access (default = 32).

wmm-be-dscp

DSCP marking for best effort access (default = 0).

wmm-bk-dscp

DSCP marking for background access (default = 8).

To configure WMM QoS marking of packets:
  1. Create a QoS profile with wmm-dscp-marking enabled, and modify the wmm-dscp settings.
    config wireless-controller qos-profile
      edit qos-wifi
        set wmm-dscp-marking enable
        set wmm-vo-dscp 44
        set wmm-vi-dscp 24
        set wmm-be-dscp 12
        set wmm-bk-dscp 6
    end
  2. Select the QoS profile on a VAP interface.
    config wireless-controller vap
      edit "stability3"
        set qos-profile "qos-wifi"
      next
    end
  3. Verify that the wmm-dscp-marking values are pushed on FortiAP.
    cw_diag -c k-qos wlan00
    WLAN Kernel QoS Settings
    ..
    ....
    WLAN wlan00 :
        wmm                         : 1
        wmm uapsd                   : 1
        call admission control      : 0
        call capacity               : 0
        bandwidth admission control : 0
        bandwidth capacity          : 0
        dscp mapping                : 0
        dscp marking                : 1
             vo dscp                : 44
             vi dscp                : 24
             be dscp                : 12
             bk dscp                : 6
  4. Verify that, when sending traffic from a client with a WMM setting of VO, the FortiGate receives the packets with a DSCP TID value or 44.

  5. Verify that, when sending traffic from a client with a WMM setting of VI, the FortiGate receives the packets with a DSCP TID value or 24.

  6. Verify that, when sending traffic from a client with a WMM setting of BE, the FortiGate receives the packets with a DSCP TID value or 12.

  7. Verify that, when sending traffic from a client with a WMM setting of BK, the FortiGate receives the packets with a DSCP TID value or 6.