R211x-HP Flexfabric 11900 ACL and QoS Command Reference

38
Defining a criterion to match DSCP values
You can configure multiple DSCP match criteria for a traffic class. All defined DSCP values are
automatically sorted in ascending order.
To delete a criterion that matches DSCP values, the specified DSCP values must be identical with
those defined in the criterion (the sequence may be different).
Defining a criterion to match 802.1p priority in customer or service provider VLAN tags
You can configure multiple 802.1p priority match criteria for a traffic class. All the defined 802.1p
values are automatically arranged in ascending order.
To delete a criterion that matches 802.1p priority values, the specified 802.1p priority values in the
command must be identical with those defined in the criterion (the sequence may be different).
Defining a criterion to match IP precedence values
You can configure multiple IP precedence match criteria for a traffic class. The defined IP
precedence values are automatically arranged in ascending order.
To delete a criterion that matches IP precedence values, the specified IP precedence values in the
command must be identical with those defined in the criterion (the sequence may be different).
Defining a criterion to match CVLANs or SVLANs
You can configure multiple VLAN ID match criteria for a traffic class. The defined VLAN IDs are
automatically arranged in ascending order.
You can configure multiple VLAN IDs in one command line. If the same VLAN ID is specified
multiple times, the system considers the VLAN IDs as one. If a packet matches one of the defined
VLAN IDs, it matches the if-match clause.
To delete a criterion that matches VLAN IDs, the specified VLAN IDs in the command must be
identical with those defined in the criterion (the sequence may be different).
Defining a criterion to match control plane protocols
You can configure multiple control plane protocol match criteria for a traffic class.
You can configure multiple control plane protocols in one command line. If the same control plane
protocol is specified multiple times, the system considers them as one. If a packet matches one of the
defined control plane protocols, it matches the if-match clause.
To delete a criterion that matches control plane protocols, the specified control plane protocols in
the command must be identical with those defined in the criterion (the sequence may be different).
To view the system-defined control plane protocol types, use the display qos policy control-plane
pre-defined command.
Examples
# Define a match criterion for traffic class class1 to match the packets with their destination MAC
addresses being 0050-ba27-bed3.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match destination-mac 0050-ba27-bed3
# Define a match criterion for traffic class class2 to match the packets with their source MAC addresses
being 0050-ba27-bed2.
<Sysname> system-view
[Sysname] traffic classifier class2
[Sysname-classifier-class2] if-match source-mac 0050-ba27-bed2