Use the Diffserv Class Configuration page to define the criteria to associate with a DiffServ class. As packets are received or transmitted, these DiffServ classes are used to classify and prioritize packets. Each class can contain multiple match criteria.
After you select the class to configure from the Class menu, use the buttons to perform the following tasks:
To access this page, click
in the navigation menu.Field | Description |
---|---|
Class | The name of the class. To configure match criteria for a class, select its name from the menu. |
Type | The class type, which is one of the following:
|
L3 Protocol | The Layer 3 protocol to use for filtering class types, which is either IPv4 or IPv6. |
Match Criteria | The type of match criteria defined for the selected class. If the Type is ACL, no information about the match criteria is available on this page. |
Value | The configured value of the match criteria that corresponds to the match type. |
After you click Add Match Criteria, the Add Match Criteria window opens and allows you to define the match criteria for the selected class. The window lists the match criteria that are available for the class. To add match criteria, select the checkbox for the criteria type. The fields to configure the match values appear after you select the match type. Each match criteria type can be used only once within a class. If a reference class includes the match criteria type, it cannot be used as an additional match type within the class, and the match criteria type cannot be selected or configured.
Each match type other than the Reference Class includes an option to match any value within the match criteria type except the configured value. This is the Exclude option, which indicates a logical NOT for a match criteria type.
Field | Description |
---|---|
Any | Select this option to specify that all packets are considered to match the specified class. There is no need to configure additional match criteria if Any is selected because a match will occur on all packets. |
Reference Class | Select this option to reference another class for criteria. The match criteria defined in the referenced class is as match criteria in addition to the match criteria 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 at most one other class of the same type. |
CoS (Class of Service) | Select this option to require the Class of Service (CoS) value in an Ethernet frame header to match the specified CoS value. |
Secondary Class of Service | Select this option to require the secondary CoS value in an Ethernet frame header to match the specified secondary CoS value. |
Ethertype | Select this
option to require the EtherType value in the Ethernet frame header to match the
specified EtherType value. After you select this option, specify the EtherType
value in one of the following two fields:
|
VLAN | Select this
option to require a packet's VLAN ID to match a VLAN ID or a VLAN ID within a
continuous range. If you configure a range, a match occurs if a packet's VLAN
ID is the same as any VLAN ID within the range. After you select this option,
use the following fields to configure the VLAN match criteria:
|
Secondary VLAN | Select this
option to require a packet's VLAN ID to match a secondary VLAN ID or a
secondary VLAN ID within a continuous range. If you configure a range, a match
occurs if a packet's secondary VLAN ID is the same as any secondary VLAN ID
within the range. After you select this option, use the following fields to
configure the secondary VLAN match criteria:
|
Source MAC Address | Select this
option to require a packet's source MAC address to match the specified MAC
address. After you select this option, use the following fields to configure
the source MAC address match criteria:
|
Destination MAC Address | Select this
option to require a packet's destination MAC address to match the specified MAC
address. After you select this option, use the following fields to configure
the destination MAC address match criteria:
|
Source IPv6 Address | Select this
option to require the source IPv6 address in a packet header to match the
specified values. After you select this option, use the following fields to
configure the source IPv6 address match criteria:
|
Destination IPv6 Address | Select this
option to require the destination IPv6 address in a packet header to match the
specified values. After you select this option, use the following fields to
configure the destination IPv6 address match criteria:
|
Source L4 Port | Select this
option to require a packet's TCP/UDP source port to match the specified port or
the port number within a range of port numbers. If you configure a range, a
match occurs if a packet's source port number is the same as any source port
number within the range. After you select this option, use the following fields
to configure a source port keyword, source port number, or source port range
for the match criteria:
|
Destination L4 Port | Select this
option to require a packet's TCP/UDP destination port to match the specified
port or the port number within a range of port numbers. If you configure a
range, a match occurs if a packet's destination port number is the same as any
destination port number within the range. After you select this option, use the
following fields to configure a destination port keyword, destination port
number, or destination port range for the match criteria:
|
IP DSCP | Select this
option to require the packet's IP DiffServ Code Point (DSCP) value to match the
specified value. The DSCP value is defined as the high-order six bits of the
Service Type octet in the IP header. After you select this option, use one of
the following fields to configure the IP DSCP match criteria:
|
IP Precedence | Select this option to require the packet's IP Precedence value to match the number configured in the IP Precedence Value field. The IP Precedence field in a packet is defined as the high-order three bits of the Service Type octet in the IP header. |
IP TOS | Select this
option to require the packet's Type of Service (ToS) bits in the IP header to
match the specified value. The IP ToS field in a packet is defined as all eight
bits of the Service Type octet in the IP header. After you select this option,
use the following fields to configure the ToS match criteria:
|
Protocol | Select this
option to require a packet header's Layer 4 protocol to match the specified
value. After you select this option, use one of the following fields to
configure the protocol match criteria:
|
Flow Label | Select this option to require an IPv6 packet's flow label to match the configured value. The flow label is a 20-bit number that is unique to an IPv6 packet, used by end stations to signify quality-of-service handling in routers. |
Click Refresh to update the page with the most current data from the switch.