R3303-HP HSR6800 Routers ACL and QoS Configuration Guide

146
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 QoS policy"; the QoS policy that references the behavior is
called the "parent QoS 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
QoS 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 QoS 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
8. Create the parent QoS policy
and enter parent QoS policy
view.
qos policy policy-name N/A
9. Associate the class with the
behavior in the parent QoS
policy.
classifier classifier-name behavior
behavior-name
N/A
NOTE:
To nest QoS policies successfully, follow these guidelines:
The support for QoS policy nesting depends on your device model.
If class-based queuing (CBQ) is configured in the child QoS policy, configure generic traffic shaping
(GTS) in the parent QoS policy and make sure that the GTS bandwidth configured in the parent QoS
policy is equal to or greater than the CBQ bandwidth configured in the child QoS policy.
If GTS bandwidth in the parent QoS policy is configured in percentage, the CBQ bandwidth in the child
QoS policy must be also configured in percentage; if it is configured as an absolute number, the CBQ
bandwidth in the child QoS policy can be configured in either percentage or as an absolute number.
GTS cannot be configured in the child QoS policy.
Applying the QoS policy
You can apply a QoS policy to an interface or permanent virtual circuit (PVC). The policy takes effect on
the traffic sent or received on the interface or PVC.