Add and configure a DiffServ policy

You can add a new DiffServ policy, attach a DiffServ class or IPv6 DiffServ class to the policy, and define the attributes that must be associated with the policy.

To add and configure a DiffServ policy:

  1. Open a web browser and log in to the device UI using your login details and device admin password.

    The Dashboard page displays.

  2. Select QoS > DiffServ > Policy Configuration.
    The Policy Configuration page displays.
  3. Click the Add New button.
    The Add Policy Configuration pop-up window displays.
  4. In the Policy Name field, type a policy name.
    The class name can be 1 to 31 alphanumeric characters in length. The name can be a number, a text, or a combination of both.
  5. From the Member Class menu, select an existing DiffServ class or IPv6 DiffServ class that must be associated with the new policy.
  6. Click the Save button.
    Your settings are saved and the new policy is added.
  7. After creating the policy, click the policy name, which is a hyperlink.

    The page adjusts and shows the Class Information section with the policy name, policy type (which is always In for inbound), and member class, and the Policy Attribute section.

    The following steps refer to the Policy Attribute section.

  8. From the Policy Attribute menu, select the attributes that must be associated with the policy:
    • Assign Queue: Requires that matching packets are assigned to a queue.

      From the menu below the Policy Attribute menu, select a queue in the range 0 to 7.

    • Drop: Requires that matching packets are dropped.
    • Mark VLAN CoS: Requires that matching packets are marked with the VLAN priority.

      From the menu below the Policy Attribute menu, select a VLAN priority in the range from 0 to 7.

    • Mark IP Precedence: Requires that matching packets are marked with an IP precedence value.

      From the menu below the Policy Attribute menu, select an IP precedence value in the range from 0 to 7.

    • Mirror: Requires that matching packets are mirrored (copied) to another interface or LAG.

      From the menu below the Policy Attribute menu, select an interface or LAG.

    • Redirect: Requires that matching packets are redirected to another interface or LAG.

      From the menu below the Policy Attribute menu, select an interface or LAG.

    • Mark IP DSCP: Requires that matching packets are marked with an IP DSCP keyword code.

      From the menu below the Policy Attribute menu, select an IP DSCP keyword code. The DSCP value is defined as the high-order 6 bits of the Service Type octet in the IP header.

    • Simple Policy: Requires that matching packets are treated by a simple traffic policy, which is color blind and for which color classes do not apply:
      • A color-aware policy distinguishes between an action for packets that confirm to the policy, an action for packets that exceed the policy, and an action for packets that violate the policy. The switch does not support a color-aware policy.
      • A simple policy supports a single data rate and results in an action for packets that conform to the policy and an action for packets that violate the policy. You can configure the action for packets that conform to the policy, but the action for packets that violate the policy is always Drop, that is, these packets are always dropped.

      To configure a simple policy, do the following:

      1. In the Committed Rate field, type the traffic rate for packets that conform to the simple policy.

        The traffic rate is a value in the range from 1 to 4294967295 Kbps. The committed rate is used to limit the arrival rate of conforming traffic.

      2. From the Conform Action menu, select the action that must be associated with the simple policy:
        • Send: Requires that matching packets are forwarded unmodified. This is the default conforming action.
        • Drop: Requires that matching packets are dropped.

          Note that violating packets are also dropped.

        • Mark CoS: Requires that matching packets are marked with a CoS value.

          From the menu below the Conform Action menu, select a CoS value in the range from 0 to 7.

        • Mark IP Precedence: Requires that matching packets are marked with an IP precedence value.

          From the menu below the Conform Action menu, select an IP precedence value in the range from 0 to 7.

        • Mark IP DSCP: Requires that matching packets are marked with an IP DSCP keyword code.

          From the menu below the Conform Action menu, select an IP DSCP keyword code or type an IP DSCP value from 0 to 63 in the field to the right of the menu. A value that you type in the field overrides any IP DSCP keyword code selection from the menu.

  9. Click the Apply button.
    Your settings are saved.

The following table describes the view-only fields on the page.

Table 1. DiffServ policy configuration, policy attributes

Field

Description

Policy Name

The name of the DiffServ policy

Policy Type

The type of the policy, which is always In for inbound

Member Class

The class that is associated within the policy