R2511-HP MSR Router Series ACL and QoS Command Reference(V5)
57
Parameters
policy-name: Policy name, a string of 1 to 31 characters. The policy must already exist.
Usage guidelines
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.
With policy nesting, you can perform the associated behavior defined in the parent policy for a class of
traffic, and in addition, use the child policy to further classify the class of traffic and perform the
behaviors defined in the child policy.
Follow these guidelines when you nest QoS policies:
• A parent policy can nest only one child policy. This child policy cannot be the parent policy itself or
the parent of any other policy.
• You can reference only one child policy in a behavior.
• If` the parent policy and the child policy contain the same behavior, the system performs the
behavior in the parent policy first and then that in the child policy.
• To configure CBQ in the child policy successfully, configure GTS in the parent policy, and make sure
that the configured GTS bandwidth is no smaller than CBQ bandwidth configured in the child
policy.
• If GTS bandwidth in the parent policy is set in percentage, also set CBQ bandwidth in percentage
in the child policy.
• A child policy cannot contain GTS actions.
• Policy nesting is available for IPv4, IPv6, and MPLS packets.
• To delete the child policy after you apply the parent policy to an interface or PVC, first remove the
child policy from the parent policy.
Examples
# Nest the child policy child in traffic behavior database of the parent policy.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] traffic-policy child
Related commands
• traffic behavior
• traffic classifier
QoS policy configuration and application
commands
classifier behavior
Use classifier behavior to associate a behavior with a class in a QoS policy.
Use undo classifier to remove a class from the policy.
Syntax
classifier classifier-name behavior behavior-name










