background image
Queuing Overview 309
In Example 10-7, access list 101 defines FTP traffic as a specific traffic type. The first queue-
list
command in the example specifies that any match to access list 101 be placed into queue 1.
As was the case in priority queuing, custom queuing can assign specific traffic to a queue
without the use of access lists. You need only specify the protocol (TCP or UDP) and the port
number. Example 10-8 shows the same configuration as in Example 10-7, but without the use
of access lists.
In Example 10-8, all FTP traffic (TCP ports 20 and 21) is assigned to queue 1. All additional IP
traffic goes into queue 2. IPX traffic goes into queue 3, and AppleTalk goes into queue 4. You
can activate the custom queue by applying it to an interface using the custom-queue-list
command.
It is also possible to specify that any traffic that entered the router through a particular interface
be placed into a particular queue, using the following command structure:
RouterA(config)#queue-list list-number interface interface-type
interface-number queue-number
The easiest way to explain the use of this command is with a command example. Example 10-9
shows the use of this command in conjunction with the configuration in Example 10-7.
Example 10-7
Custom Queue Configuration with Access Lists
RouterA(config)#access-list 101 permit tcp any any eq ftp
RouterA(config)#access-list 101 permit tcp any any eq ftp-data
RouterA(config)#queue-list 1 protocol ip 1 list 101
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)#interface serial 0
RouterA(config-if)#custom-queue-list 1
Example 10-8
Custom Queue Configuration without Access Lists
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)#interface serial 0
RouterA(config-if)#custom-queue-list 1