background image
304 Chapter 10: Managing Network Performance with Queuing and Compression
The highlighted line is the only change in the configuration. The line specifies that any traffic
that entered the router through interface Ethernet 0 be placed in the high-priority queue,
regardless of the traffic type.
As mentioned, any traffic that does not match any line in a priority list is placed in the default
queue. For priority queuing, the default queue is normal if not specified. The command
structure for assigning a default queue is as follows:
Router(config)#priority-list list-number default {high | medium | normal | low}
Example 10-4 expands on the configuration in Example 10-3 by specifying the default queue
value.
The highlighted line specifies that any traffic not matching the other lines in the list be moved
to the low-priority queue.
It is possible to alter the size of each individual queue. The process is very simple. It involves
the use of a command in the priority list definition:
RouterA(config)# priority-list list-number queue-limit [high-limit [medium-limit
[normal-limit [low-limit]]]
As mentioned, the defaults for the high, medium, normal, and low queues are 20, 40, 60, and
80, respectively. Example 10-5 shows the use of this command, again added to our existing
configuration in Example 10-3.
Example 10-3
Interface-Based Queuing Example
RouterA(config)#access-list 101 permit tcp any any eq telnet
RouterA(config)#priority-list 1 protocol ip high list 101
RouterA(config)#priority-list 1 interface Ethernet 0 high
RouterA(config)#priority-list 1 protocol ip medium
RouterA(config)#priority-list 1 protocol ipx medium
RouterA(config)#priority-list 1 protocol Appletalk normal
RouterA(config)#interface serial 0
RouterA(config-if)#priority-group 1
Example 10-4
Default Queue Configuration
RouterA(config)#access-list 101 permit tcp any any eq telnet
RouterA(config)#priority-list 1 protocol ip high list 101
RouterA(config)#priority-list 1 interface Ethernet 0 high
RouterA(config)#priority-list 1 protocol ip medium
RouterA(config)#priority-list 1 protocol ipx medium
RouterA(config)#priority-list 1 protocol Appletalk normal
RouterA(config)#priority-list 1 default low
RouterA(config)#interface serial 0
RouterA(config-if)#priority-group 1