22NOTE:Suppose the logical relationship between match criteria is and. When using the if-match command todefine match criteria, be aware of the following guidelines:• If multiple match criteria with the acl or acl ipv6 keyword specified are defined in a class, the actuallogical relationship between these match criteria is or when the policy is applied.• If multiple match criteria with the customer-vlan-id or service-vlan-id keyword specified are defined ina class, the actual logical relationship between these match criteria is or.NOTE:The following match criteria must be unique in a traffic class with the operator being AND. Although youcan define multiple if-match clauses for these match criteria or input multiple values for alist argument(such as the8021p-list argument) listed below in a traffic class, avoid doing that. Otherwise, the QoS policyreferencing the class cannot be applied to interfaces successfully.• customer-dot1p8021p-list• destination-macmac-address• dscpdscp-list• ip-precedenceip-precedence-list• service-dot1p8021p-list• source-macmac-address• system-indexindex-value-listTo create multiple if-match clauses or specify multiple values for a list argument for any of the matchcriteria previously listed, ensure that the operator of the class is OR.NOTE:A QoS policy referencing a if match customer-dot1p clause cannot be applied to the outgoing traffic.Defining a traffic behaviorA traffic behavior is a set of QoS actions (such as traffic filtering, shaping, policing, and priority marking)to take on a class of traffic. To define a traffic behavior, first create it and then configure QoS actions,such as priority marking and traffic redirecting, in traffic behavior view.Follow these steps to define a traffic behavior:To do… Use the command… RemarksEnter system view system-view —Create a traffic behavior and entertraffic behavior view traffic behavior behavior-name RequiredConfigure actions in the trafficbehaviorSee the following chapters based on the purpose of the traffic behavior:traffic policing, traffic filtering, traffic redirecting, priority marking, trafficaccounting, and so on.Defining a policyIn a policy, you can define multiple class-behavior associations. A behavior is performed for anassociated class of packets, and implements various QoS features.