Quality of Service
Left running head: 
Chapter name (automatic)
1010
Beta Beta
OmniAccess 5740 Unified Services Gateway CLI Configuration Guide
Alcatel-Lucent
Example 2
Consider another case with policy p1 with class c1 without queue limit. And, policy 
p2 with classes c21 and c22 with queue limit 150 and 250 respectively included in 
p1:
ALU(config)# policy-map p1
ALU(config-qos-p1)# class c1
ALU(config-qos-p1-c1)#
ALU(config)# policy-map p2
ALU(config-qos-p2)# class c21
ALU(config-qos-p2-c2)# queue-limit 150
ALU(config-qos-p2)# class c22
ALU(config-qos-p2-c2)# queue-limit 250
ALU(config-qos-p1-c1)# service-policy p2
In the above example, parent class c1 does not have any queue limit but its child 
classes (c21, c22) are having the queue limits 150 and 250 respectively.
The queue limit of the parent is calculated by this following formula. 
Parent's class queue-limit = (Sum of queue-limit)/ No of children)
Queue limit for class c11 = (150+ 250)/2
Queue limit for class c11 = 200
You are not allowed to configure the queue limit of a parent class if one of its child 
is having the queue limit configured.