Traffic Shaping

DiffServ Codepoint Marking: Click the check box to enable DSCP. Differentiated Services (DiffServ) is a system for tagging (or marking) traffic at a position within a hierarchy of priority. Selecting this option maps the eight ScreenOS priority levels (IP Precedence) to the DiffServ system. The highest priority (priority 0) maps to 111 in the DS byte (see RFC 2474) or TOS byte (see RFC 1349) in the IP packet header, and the lowest priority (priority 8) maps to 000.

Some devices require that you explicitly enable DSCP marking by setting a system-wide environmental variable. Refer to your hardware manual to find out if your device requires that you explicitly enable DSCP marking before using it in policies. If your device requires it, use the following CLI command to enable DSCP marking system wide: set envar ipsec-dscp-mark=yes. This variable cannot be set using the WebUI. Use the unset envar ipsec-dscp-mark command to disable DSCP marking system wide.

Warning:  Please note that this feature is CPU intensive and under certain high traffic volume conditions can cause high CPU utilization.

DSCP marking is supported on all platforms and can be configured with traffic shaping or independently. The following tables describe how DSCP marking works in all scenarios.

IP Precedence: Traffic with higher priority will be passed first, and lower priority traffic is passed only if there is no other higher priority traffic for a certain period. There are eight priority levels.

Mode: Select a traffic-shaping mode. The default mode is Auto. In Auto mode, shaping will be enabled automatically only when there is a policy that has either ingress policing or traffic shaping enabled. On mode means traffic shaping is enabled regardless of the presence of a policy that has ingress policing or traffic shaping enabled. Off mode means traffic shaping is not enabled even if there is a policy that has either ingress policing or traffic shaping enabled.

To Enable DiffServ Code Point Marking and Turn on Traffic Shaping:

  1. Check the DSCP Class Selector checkbox.

  2. Set IP Precedence values.

  3. Set Mode to On.

  4. Click Apply.

QoS Profile

You can create two types of quality of service (Qos) profiles based on the IP precedence and DSCP values of an incoming packet.

To Create a QoS Profile

Enter the necessary information:

Name: Assign a unique and meaningful name.

Type: Select the type of QoS profile from the drop-down menu.

Click New Profile to create a profile.

To Modify a QoS Profile

  1. In the Configure column, click Edit for the QoS profile you want to modify.

The QoS profile Configuration page appears.

  1. Edit the configuration, and then click OK to save your changes.

To Remove a QoS Profile

  1. In the Configure column, click Remove for the QoS profile that you want to remove.

A system message prompts you to confirm the removal.

  1. Click OK to confirm the removal or Cancel to cancel it.