20Configuration restrictions and guidelines• If a class that uses the AND operator has multiple if-match acl, if-match acl ipv6, if-matchcustomer-vlan-id or if-match service-vlan-id clauses, a packet that matches any of the clausesmatches 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 input only one value forany of the following list arguments. To create multiple if-match clauses for these match criteria orspecify multiple values for the list arguments, specify the operator of the class as OR and use theif-match command multiple times.{ customer-dot1p 8021p-list{ destination-mac mac-address{ dscp dscp-list{ ip-precedence ip-precedence-list{ service-dot1p 8021p-list{ source-mac mac-address{ system-index index-value-listConfiguration procedureTo define a class:Step Command Remarks1. Enter system view. system-view N/A2. Create a class andenter class view.traffic classifier tcl-name[ operator { and | or } ]By default, the operator of a class is AND.The operator of a class can be AND or OR:• AND—A packet is assigned to a class only whenthe packet matches all the criteria in the class.• OR—A packet is assigned to a class if it matchesany of the criteria in the class.3. Configure matchcriteria. if-match match-criteria N/Amatch-criteria: Match criterion.Table 2 The value range for thematch-criteria argumentOption Descriptionacl [ ipv6 ] { acl-number |name acl-name }Matches an ACL.The acl-number argument ranges from 2000 to 3999 for an IPv4 ACL, 2000to 3999 for an IPv6 ACL, and 4000 to 4999 for an Ethernet frame headerACL.The acl-name argument is a case-insensitive string of 1 to 63 characters, whichmust start with an alphabetic letter from a to z (or A to Z), and to avoidconfusion, cannot be all.any Matches all packets.