Configuring QoS policy nesting

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. The QoS policy referenced in the traffic behavior is called the "child policy." The QoS policy that references the behavior is called the "parent policy."

To nest QoS policies successfully, follow these guidelines:

To nest a child QoS policy in a parent QoS policy:

Step

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 } ]

N/A

3. Configure match criteria.

if-match [ not ] match-criteria

N/A

4. Return to system view.

quit

N/A

5. Create a behavior for the parent policy and enter behavior view.

traffic behavior behavior-name

N/A

6. Nest the child QoS policy.

traffic-policy policy-name

The QoS policy specified for the policy-name argument must already exist.

7. Return to system view.

quit

N/A

8. Create the parent policy and enter parent policy view.

qos policy policy-name

N/A

9. Associate the class with the behavior in the parent policy.

classifier classifier-name behavior behavior-name

N/A