F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100

292
605BDefining a policy
1316BConfiguring a policy
You associate a behavior with a class in a QoS policy to perform the actions defined in the behavior for
the class of packets.
To associate a class with a behavior in a policy:
Ste
p
Command
Remarks
27. Enter system view.
system-view N/A
28. Create a policy and enter
policy view.
qos policy policy-name N/A
29. Associate a class with a
behavior in the policy.
classifier classifier-name behavior
behavior-name
Repeat this step to create more
class-behavior associations.
IMPORTANT:
On some devices, if the ACL contains deny rules, the if-match clause is ignored and the matching
process continues.
On some devices, the ACL is used for classification only and the permit/deny action in ACL rules is
ignored. Actions taken on matching packets are defined in traffic behaviors.
1317BApplying the QoS policy to an interface
A policy can be applied to multiple interfaces, but only one policy can be applied in one direction
(inbound or outbound) of an interface.
The QoS policy applied to the outgoing traffic on an interface does not regulate local packets, which are
critical protocol packets sent by the local system for operation maintenance. The most common local
packets include link maintenance, routing (IS-IS, BGP, and OSPF for example), RIP, and SSH packets.
To apply a QoS policy to the inbound direction of a VLAN interface, you must apply it in VLAN interface
view. To the outbound direction, you must apply it in interface view of each physical interface of the
VLAN.
To apply the QoS policy to an interface:
Ste
p
Command
30. Enter system view.
system-view
31. Enter interface view.
interface interface-type interface-number
32. Apply the policy to the interface.
qos apply policy policy-name { inbound | outbound }