Custom Queuing
With custom queuing, abstracts is placed into one of up to 16 altered queues, authentic by queue
number. These queues are emptied on a austere rotational basis. Once a queue’s address threshold
has been reached, the abutting chain is serviced, irrespective of whether the accepted chain still
has packets in it.
Configuration options accessible to the ambassador accommodate how to ascertain the traffic,
what chain to abode the cartage into, how ample anniversary chain should be, and how ample each
queue’s account beginning should be.
To ascertain the cartage for a accurate custom queue, use the queue-list all-around command:
Terry_3550(config)#queue-list ?
<1-16> Chain account number
Terry_3550(config)#queue-list 1 ?
default Set custom chain for bearding datagrams
interface Establish priorities for packets from a called interface
lowest-custom Set everyman cardinal of chain to be advised as custom
protocol Antecedence queueing by protocol
queue Configure ambit for a accurate queue
stun Establish priorities for amaze packets
Terry_3550(config)#queue-l 1 interface ?
Async Async interface
BVI Bridge-Group Virtual Interface
Dialer Dialer interface
FastEthernet FastEthernet IEEE 802.3
GigabitEthernet GigabitEthernet IEEE 802.3z
Group-Async Async Group interface
Lex Lex interface
Loopback Loopback interface
Multilink Multilink-group interface
Null Null interface
Port-channel Ethernet Channel of interfaces
Transparent Transparent interface
Tunnel Tunnel interface
Virtual-Template Virtual Template interface
Virtual-TokenRing Virtual TokenRing
Vlan Catalyst Vlans
fcpa Fiber Channel
Terry_3550(config)#queue-l 1 interface fastEthernet 0/12 ?
<0-16> chain number
Terry_3550(config)#queue-l 1 interface fastEthernet 0/12 1
Terry_3550(config)#queue-l 1 interface fastEthernet 0/13 2
Terry_3550(config)#queue-l 1 interface fastEthernet 0/14 2
Terry_3550(config)#^Z
Terry_3550#
To ascertain the best chain admeasurement for a accurate custom queue, use the queue-list
queue-limit queue-number byte-count all-around command:
Terry_3550(config)#queue-list 1 ?
default Set custom chain for bearding datagrams
interface Establish priorities for packets from a called interface
lowest-custom Set everyman cardinal of chain to be advised as custom
protocol Antecedence queueing by protocol
queue Configure ambit for a accurate queue
stun Establish priorities for amaze packets
Terry_3550(config)#queue-list 1 chain 1 ?
byte-count Specify admeasurement in bytes of a accurate queue
limit Set chain admission absolute of a accurate queue
Terry_3550(config)#queue-list 1 chain 1 byte-count ?
<1-16777215> Admeasurement in bytes
Terry_3550(config)#queue-list 1 chain 1 byte-count 10000 ?
limit Set chain admission absolute of a accurate queue
Terry_3550(config)#queue-list 1 chain 1 byte-count 10000 absolute ?
<0-32767> Cardinal of chain entries
Terry_3550(config)#queue-list 1 chain 1 byte-count 10000 absolute 10
Terry_3550(config)#^Z
Terry_3550#
Allocating the antecedence chain to a accurate approachable interface is accomplished application the customqueue-
list custom-queue interface command:
Terry_3550(config)#int fastEthernet 0/1
Terry_3550(config-if)#custom-queue-list 1
Terry_3550(config)#^Z
Terry_3550#
The afterward agreement uses admission account 101 to abode Telnet cartage amid any two hosts
into chain 1, uses admission account 102 to abode web cartage amid any two hosts into chain 2, and
places all added IP cartage into chain 3, while CDP cartage is placed into chain 4. Changing the
queue sizes has the aftereffect of “fairly” allocating chain amplitude to traffic:
Terry_3550(config)#queue-list 1 agreement ip 1 account 101
Terry_3550(config)#queue-list 1 agreement ip 2 account 102
Terry_3550(config)#queue-list 1 agreement ip 3
Terry_3550(config)#queue-list 1 agreement cdp 4
Terry_3550(config)#access-list 101 admittance tcp any any eq telnet
Terry_3550(config)#access-list 102 admittance tcp any any eq www
Terry_3550(config)#queue-list 1 chain 1 byte-count 2000 absolute 25
Terry_3550(config)#queue-list 1 chain 2 byte-count 5000 absolute 20
Terry_3550(config)#queue-list 1 chain 3 byte-count 10000 absolute 10
Terry_3550(config)#queue-list 1 chain 4 byte-count 1000 absolute 5
Terry_3550(config)#^Z
Terry_3550#
The 16 queues are all configurable, but you alone charge to configure as abounding as
you charge or appetite to. A abstracted 17th chain is created by the router for use by
systems traffic. This chain is not configurable.