R0106-HP MSR Router Series ACL and QoS Configuration Guide(V7)

22
Configuring a child policy
You can nest a QoS policy in a traffic behavior to reclassify the traffic class associated with the behavior.
Then the actions that are defined in the QoS policy are taken on the reclassified traffic. The QoS policy
nested in the traffic behavior is called a child policy. The QoS policy that nests the behavior is called a
parent policy.
To nest QoS policies successfully, follow these guidelines:
If class-based queuing (CBQ) is configured in a child policy, GTS must be configured in the parent
policy, and the CIR specified in GTS must be greater than or equal to CBQ bandwidth.
If the CIR in GTS is specified as a percentage for a parent policy, the CBQ bandwidth must be
configured as a percentage for the child policy. If the CIR in GTS is specified as a value in kbps for
a parent policy, the CBQ bandwidth can be configured as a percentage or a value in kbps for the
child policy.
GTS cannot be configured in the child policy.
To nest a child QoS policy in a parent QoS policy:
Ste
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 } ]
By default, no class is configured.
3. Configure match criteria.
if-match [ not ] match-criteria
By default, no match criterion is
configured.
For more information about configuring
match criteria, see ACL and QoS
Command Reference.
4. Return to system view.
quit N/A
5. Create a behavior for the
parent policy and enter
behavior view.
traffic behavior behavior-name By default, no behavior is created.
6. Nest the child QoS
policy.
traffic-policy policy-name By default, policy nesting is not configured.
7. Return to system view.
quit N/A
8. Create the parent policy
and enter parent policy
view.
qos policy policy-name By default, no policy is created.
9. Associate the class with
the behavior in the parent
policy.
classifier classifier-name
behavior behavior-name
By default, a class is not associated with a
behavior.
Applying the QoS policy
You can apply a QoS policy to the following destinations:
Interface or PVCThe QoS policy takes effect on the traffic sent or received on the interface or PVC.