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.
Usage guidelines
You cannot remove a default class.
You can perform a set of QoS actions on a traffic class by associating a traffic behavior with the traffic
class.
55