Operation Manual – QoSH3C S5500-EI Series Ethernet Switches Chapter 3 QoS Policy Configuration3-33.4 Configuring a QoS Policy3.4.1 Configuration Prerequisitesz The name and the rules of the class to which the policy is to be bound to aredetermined.z The traffic behavior name and actions in the traffic behavior in the policy aredetermined.z The policy name is determined.z Apply the QoS policy in Ethernet port view/port group view.3.4.2 Defining a ClassTo define a class, you need to create a class and then define rules in the correspondingclass view.I. Configuration procedureFollow these steps to define a class:To do… Use the command… RemarksEnter system view system-view —Create a class and enterthe corresponding classviewtraffic classifierclassifier-name [ operator{ and | or } ]RequiredBy default, the andkeyword is specified. Thatis, the relation betweenthe rules in the class viewis logic AND. Thisoperation leads you toclass view.Define a rule used tomatch packets if-match match-criteria Requiredmatch-criteria: Matching rules to be defined for a class. Table 3-2 describes theavailable forms of this argument.Table 3-2 The form of the match-criteria argumentForm Descriptionaclaccess-list-numberSpecifies an ACL to match packets. The access-list-numberargument is in the range 2000 to 4999.In a class configured with the operator and, the logicalrelationship between rules defined in the referenced IPv4 ACL isor.