85 QOS POLICY CONFIGURATIONIntroduction QoS policy includes three elements: class, traffic behavior and policy. You can bindthe specified class and traffic behavior through QoS policy to configure QoS.ClassesA class is used to identify traffic.Class elements include class name and rule.You can define a series of rules by executing some commands to classify packets.Also you can specify the relationship between rules: and and or.■ and: The device considers a packet belongs to a class only when the packetmatches all rules.■ or: The device considers a packet belongs to a class as long as the packetmatches one of the rules in the class.Traffic behaviorsA traffic behavior is used to define QoS features for them.Traffic behaviors include name of traffic behaviors and actions defined in a trafficbehavior.Users can use certain commands to define multiple actions in a traffic behavior.PoliciesA policy is used to bind the specified class and traffic behavior.A policy includes policy name and name of the bound class and traffic behavior.Configuring QoSPolicyFollow these steps to configure QoS policy:1 Define the class and define a group of traffic classification rules in class view.2 Define the traffic behavior and define a group of QoS features in traffic behaviorview.3 Define the policy, and define the corresponding traffic behavior for the class in usein policy view.4 Apply QoS policy in interface view.