Command Reference Guide
40
If a class that uses the AND operator has multiple if-match acl, if-match acl ipv6, if-match
customer-vlan-id or if-match service-vlan-id clauses, a packet that matches any of the clauses matches
the class.
To successfully execute the traffic behavior associated with a traffic class that uses the AND operator,
define only one if-match clause for any of the following match criteria, and enter only one value for any
of the following list arguments (for example, the 8021p-list argument):
• customer-dot1p 8021p-list.
• destination-mac mac-address.
• dscp dscp-list.
• ip-precedence ip-precedence-list.
• service-dot1p 8021p-list.
• source-mac mac-address.
• control-plane protocol protocol-name.
To create multiple if-match clauses for these match criteria or specify multiple values for the list arguments,
specify the operator of the class as OR and use the if-match command multiple times.
If a match criterion includes the if-match control-plane protocol or if-match control-plane protocol-group
clause, the QoS policy that references this match criterion can be applied only to the control plane.
Defining an ACL-based match criterion
• If the ACL referenced in the if-match command does not exist, the relevant QoS policy cannot be
applied normally.
• You can configure multiple ACLs for a class.
• For a traffic class, you can reference an ACL twice by its name and number with the if-match
command, respectively.
Defining a criterion to match a destination MAC address
You can configure multiple destination MAC address match criteria for a traffic class.
Defining a criterion to match a source MAC address
You can configure multiple source MAC address match criteria for a traffic class.
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 can be different).
Defining a criterion to match 802.1p priority values in inner or outer 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 can 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.