Fortinet Document Library

Version:


Table of Contents

FortiWiFi and FortiAP Cookbook

6.4.0
Download PDF
Copy Link

WiFi QoS WMM marking

This function enables FortiGate to preserve the WiFi Multi-Media (WMM) QoS marking of packets by translating them to Differentiated Services Code Point (DSCP) values when forwarding upstream.

Note

This function requires a FortiAP-S or FortiAP-W2 device.

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

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.

WiFi QoS WMM marking

This function enables FortiGate to preserve the WiFi Multi-Media (WMM) QoS marking of packets by translating them to Differentiated Services Code Point (DSCP) values when forwarding upstream.

Note

This function requires a FortiAP-S or FortiAP-W2 device.

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

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.