background image
Queuing Overview 311
The amount of data a queue can service before having to move on to the next queue is known
as a service threshold. You can alter the size of each individual queue. The command structure
for resizing a queue's record limit service threshold is as follows:
RouterA(config)#queue-list list-number queue queue-number limit limit-number
This command alters the number of records the queue can process in a given cycle. Valid entries
are 0­32, 767. The command structure for altering the byte-count service threshold is as
follows:
RouterA(config)#queue-list list-number queue queue-number
byte-count byte-count-number
As mentioned, the defaults for queue limits are 20 records or 1500 bytes, whichever comes first.
Example 10-11 shows the use of the commands to resize a queue's record limit service
threshold and to alter the byte-count service threshold. Example 10-11 builds on the
configuration in Example 10-10.
The highlighted lines specify that queue 1 services 60 records or 4500 bytes prior to moving on
to the next queue. This triples the size of queue 1, which was defined in the queue list as
containing FTP traffic. Therefore, queue 1 has a higher percentage of overall bandwidth and, in
essence, a higher priority.
Applying the Custom Queue List to the Interface
Once the queue list is created, it must be associated with an interface. The queue list is activated
on the interface once the custom-queue-list command is entered. Note that the queue list
number is the same as the custom queue list number. Although you can apply the same queue
list to multiple interfaces, you cannot configure multiple custom queue lists on single interface.
Example 10-11
Modifying Queue Limits
RouterA(config)#queue-list 1 protocol ip 1 tcp 20
RouterA(config)#queue-list 1 protocol ip 1 tcp 21
RouterA(config)#queue-list 1 protocol ip 2
RouterA(config)#queue-list 1 protocol ipx 3
RouterA(config)#queue-list 1 protocol Appletalk 4
RouterA(config)#queue-list 1 default 5
RouterA(config)#queue-list 1 queue 1 limit 60
RouterA(config)#queue-list 1 queue 1 byte-count 4500
RouterA(config)#interface serial 0
RouterA(config-if)#custom-queue-list 1