6-4Custom queuingFigure 6-4 Custom queuing (CQ)CQ organizes packets into 16 classes (corresponding to 16 queues) by certain rules. A certain class ofpackets enters the corresponding custom queue according to FIFO queuing. By default, packets areassigned to queue 1.Queues 1 through 16 are customer queues, as shown in Figure 6-4. You can define traffic classificationrules and assign a percentage of interface bandwidth for each customer queue. During a cycle of queuescheduling, CQ sends packets in the system queue preferentially until the system queue is empty. Then,it schedules the 16 customer queues in a round robin way: it sends a certain number of packets (basedon the percentage of interface bandwidth assigned for each queue) out of each queue in the ascendingorder of queue 1 to queue 16.CQ guarantees normal packets a certain amount of bandwidth, while ensuring that mission-criticalpackets are assigned more bandwidth.CQ can assign free bandwidth of idle queues to busy queues. Even though it performs round robinqueue scheduling, CQ does not assign fixed time slots for the queues. If a queue is empty, CQimmediately schedules the next queue. When a class does not have packets, the bandwidth for otherclasses increases.