R3303-HP HSR6800 Routers ACL and QoS Command Reference

56
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
undo classifier classifier-name
Views
Policy view
Default command level
2: System level
Parameters
classifier-name: Class name, a string of 1 to 31 characters.
behavior-name: Behavior name, a string of 1 to 31 characters.