2-4To do… Use the command… RemarksSpecify the traffic behavior for aclass in the policyclassifier tcl-name behaviorbehavior-name RequiredIf an ACL is referenced by a QoS policy for defining traffic match criteria, , packets matching the ACLare organized as a class and the behavior defined in the QoS policy applies to the class regardless ofwhether the match mode of the ACL clause is deny or permit.Applying the QoS PolicyYou can apply the QoS policy to an interface.You can modify the classification rules, traffic behaviors, and classifier-behavior associations of a QoSpolicy already applied.Applying the QoS Policy to an InterfaceA policy can be applied to multiple interfaces. Only one policy can be applied in inbound direction of aninterface.Configuration procedureFollow these steps to apply the QoS policy to an interface:To do… Use the command… RemarksEnter system view system-view —Enterinterfaceviewinterface interface-typeinterface-numberEnterinterfaceview or portgroup view, Enter portgroup viewport-group manualport-group-nameUse either commandSettings in interface view takeeffect on the current interface;settings in port group view takeeffect on all ports in the portgroup.Apply the policy to theinterface/port groupqos apply policy policy-nameinbound RequiredConfiguration example# Apply QoS policy test_policy to the inbound direction of GigabitEthernet 1/0/1. system-view[Sysname] interface gigabitethernet 1/0/1