870 CHAPTER 67: Q OS POLICY CONFIGURATIONConfiguring QoSPolicyThe procedure for configuring QoS policy is as follows:1 Define a class and define a group of traffic classification rules in class view.2 Define a traffic behavior and define a group of QoS actions in traffic behaviorview.3 Define a policy and specify a traffic behavior corresponding to the class in policyview.4 Apply the QoS policy in Ethernet port view/port group view.Introduction to QoSPoliciesConfiguring a QoSPolicyConfigurationPrerequisites■ The name and the rules of the class to which the policy is to be bound to aredetermined.■ The traffic behavior name and actions in the traffic behavior in the policy aredetermined.■ The policy name is determined.■ Apply the QoS policy in Ethernet port view/port group view.Defining a Class To define a class, you need to create a class and then define rules in thecorresponding class view.Table 68 QoS policiesPolicy name Corresponding class Related commandAccounting Use the if-match match-criteria command to definethe class as required for the policy to be associatedwith.accountingTP Use the if-match match-criteria command to definethe class as required for the policy to be associatedwith.carTraffic filtering Use the if-match match-criteria command to definethe class as required for the policy to be associatedwith.filterTraffic mirroring Use the if-match match-criteria command to definethe class as required for the policy to be associatedwith.mirror-toNested VLAN tag Use the if-match match-criteria command to definethe class as required for the policy to be associatedwith.nestTraffic redirect Use the if-match match-criteria command to definethe class as required for the policy to be associatedwith.redirectPriority marking Use the if-match match-criteria command to definethe class as required for the policy to be associatedwith.remark