HP MSR2000/3000/4000 Router Series ACL and QoS Configuration Guide

22
3. Associate a traffic class with a
traffic behavior to create a
class-behavior association in
the QoS policy.
classifier classifier-name behavior
behavior-name
By default, a traffic class is not
associated with a traffic behavior.
Repeat this step to create more
class-behavior associations.
Configuring a child policy
You can nest a QoS policy in a traffic behavior to re-classify the traffic class associated with the behavior
and take actions that are defined in the policy on the re-classified traffic. The QoS policy nested in the
traffic behavior is called the "child policy." The QoS policy that nests the behavior is called the "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.