Setting Up Quality of Service
Overview
3
2
1
3
2
1
Router
Queue
3
2
1
Figure 8-1. First In, First Out
FIFO treats all packets in the same way. If you want the router to take packets'
ToS settings, or other criteria, into account when deciding how to treat them,
you must implement a different queuing method.
WFQ
WFQ is one method for granting differentiated service to packets with various
ToS values. When an interface uses WFQ, it classifies traffic flow into several
conversations, or subqueues, according to source and destination IP
addresses and protocol ports. The router then assigns each subqueue a weight
according to its IP precedence value and a bandwidth relative to its weight.
CBWFQ
CBWFQ is an extension of WFQ that allows network administrators to define
classes of conversation subqueues according to their own criteria. They can
also allocate bandwidth to these classes manually. Instead of the router
automatically assigning bandwidth to each subqueue based on relative IP
precedence, administrators assign each class of subqueue an absolute or a
relative amount of bandwidth.
LLQ
LLQ guarantees a set amount or a set percentage of bandwidth to certain types
of traffic. LLQ also ensures that a router serves traffic in the low-latency queue
first. (See Figure 8-2.) It is a better solution than WFQ for real-time traffic,
such as VoIP, that cannot tolerate jitter or delays.
8-11