R3303-HP HSR6800 Routers ACL and QoS Configuration Guide

22
You cannot name a user-defined QoS policy the same as the system-defined QoS policy.
To associate a class with a behavior in a policy:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a policy and enter
policy view.
qos policy policy-name N/A
3. 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:
If the ACL contains deny rules, the if-match clause is ignored and the matching process continues.
If a QoS policy uses a Layer 2 ACL for classification, the Layer 2 ACL does not support the lsap keyword.
Configuring QoS policy nesting
You can reference a QoS policy in a traffic behavior to re-classify the traffic class associated with the
behavior and take action on the re-classified traffic as defined in the policy. The QoS policy referenced
in the traffic behavior is called the "child policy." The QoS policy that references the behavior is called
the "parent policy."
To nest QoS policies successfully, follow these guidelines:
If class-based queuing (CBQ) is configured in the child policy, configure generic traffic shaping
(GTS) in the parent policy and make sure that the GTS bandwidth configured in the parent policy is
equal to or greater than the CBQ bandwidth configured in the child policy.
If GTS bandwidth in the parent policy is configured in percentage, the CBQ bandwidth in the child
policy must be also configured in percentage. If it is configured as an absolute number, the CBQ
bandwidth in the child policy can be configured in either percentage or as an absolute number.
GTS cannot be configured in the child policy.
To nest a child QoS policy in a parent QoS policy:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a class for the
parent policy and enter
class view.
traffic classifier classifier-name
[ operator { and | or } ]
N/A
3. Configure match criteria.
if-match [ not ] match-criteria N/A
4. Return to system view.
quit N/A
5. Create a behavior for the
parent policy and enter
behavior view.
traffic behavior behavior-name N/A
6. Nest the child QoS
policy.
traffic-policy policy-name
The QoS policy specified for the
policy-name argument must already exist.
7. Return to system view.
quit N/A