Add and configure an IPv6 DiffServ class

You can add an IPv6 DiffServ class and configure the criteria that must be associated with it.

To configure an IPv6 DiffServ class:

  1. Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
    The System Information page displays.
  2. Select QoS > DiffServ > Advanced > IPv6 Class Configuration.

    The Class Configuration page displays.

  3. In the Class Name field, enter a class name.

    The Class Name field also lists all existing DiffServ class names, from which you can select one for modification or deletion. The class name can be 1 to 31 alphanumeric characters in length.

    The only selection from the Class Type menu is All, which means that all match criteria that you define for the class must be satisfied for a packet match. All signifies the logical AND of all the match criteria. For example, if the class includes one criterion for an IP address and another criterion for a MAC address, the traffic must match both criteria.

  4. Click the Add button.

    The new class is added.

  5. After creating the class, click the class name.

    The class name is a hyperlink to the page on which you can define the class configuration (see the following figure).



  6. Define the criteria to associate with a DiffServ class:
    • Match Every: Select this radio button to add a match condition that considers all packets to belong to the class. The only selection from the Match Every menu is Any.

    • Reference Class: Select this radio button to reference another class for criteria. The match criteria defined in the reference class function as match criteria in addition to the match criteria that you define for the selected class. After selecting this option, the classes that can be referenced are displayed. Select the class to reference. A class can reference one other class of the same type.

    • Protocol Type: Select this radio button to require a packet’s Layer 4 protocol to match the specified protocol, which you must select from the menu. The menu includes Other as a selection, which lets you enter a protocol number from 0 to 255.

    • Source Prefix/Length: Select this radio button to require a packet’s source prefix and prefix length to match the specified source IPv6 prefix and prefix length. Prefix must always be specified with the prefix length. The prefix can be in the hexadecimal range from 0 to FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF and the prefix length can be in the range from 0 to 128.

    • Source L4 Port: Select this radio button to require a packet’s TCP/UDP source port to match the specified protocol, which you must select from the menu. The range is 0 to 65535. The menu includes Other as an option for unnamed ports.

    • Destination Prefix/Length: Select this radio button to require a packet’s destination prefix and prefix length to match the specified source IPv6 prefix and prefix length. Prefix must always be specified with the prefix length. The prefix can be in the hexadecimal range from 0 to FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF and the prefix length can be in the range from 0 to 128.

    • Destination L4 Port: Select this radio button to require a packet’s TCP/UDP destination port to match the specified protocol, which you must select from the menu. The range is 0 to 65535. The menu includes Other as an option for unnamed ports.

    • Flow Label: Select this radio button to require a packet’s flow label to match the specified flow label. The flow label is a 20-bit number that is unique to an IPv6 packet and that is used by end stations to signify QoS handling in routers. The flow label can be specified in the range from 0 to 1048575.

    • IP DSCP: Select this radio button to require the packet’s IP DiffServ Code Point (DSCP) value to match the specified IP DSCP keyword code, which you must select from the menu. The menu includes Other as a selection, which lets you enter an IP DSCP value from 0 to 63. The DSCP value is defined as the high-order 6 bits of the Service Type octet in the IP header.

  7. Click the Apply button.

    Your settings are saved.

  8. To save the settings to the running configuration, click the Save icon.

The following table describes the view-only fields in the Class Summary section.

Table 1. IPv6 DiffServ class configuration class summary

Field

Description

Match Criteria

The configured match criteria for the specified class.

Values

The values of the configured match criteria.