Asante Technologies 35516 User Manual
Page 95

- 95 -
You must follow certain required, basic steps to enable CQ for your network. In addition, you can choose to assign
packets to custom queues based on protocol type, interface where the packets enter the router, or other criteria you
specify. Like priority queue list, custom queue is used on an output interface.
7.3.1 Defining the Custom Queue List
To assign a custom queue list to an interface, use the following commands beginning in global configuration mode:
Note: Use the custom-queue-list command in place of the priority-list command. Only one queue list can be
assigned per interface.
CQ allows a fairness not provided with priority queuing (PQ). With CQ, you can control the available bandwidth on an
interface when it is unable to accommodate the aggregate traffic enqueued. Associated with each output queue is a
configurable byte count, which specifies how many bytes of data should be delivered from the current queue by the
system before the system moves on to the next queue. When a particular queue is being processed, packets are sent
until the number of bytes sent exceeds the queue byte count defined by the queue-list queue byte-count command,
or until the queue is empty.
7.3.1 Specifying the Minimum Size of the Custom Queues (Optional)
You can specify the approximate number of bytes to be forwarded from each queue during its turn in the cycle. The
number is an average number, because whole packets must be forwarded.
To specify the approximate number of bytes to be forwarded from each queue during its turn in the cycle, use the
following command in global configuration mode, as needed:
Router(config)# queue-list list-number queue queue-number byte-count byte-count-number
This designates the average number of bytes forwarded per queue. The byte-count-number argument specifies the
average number of bytes the system allows to be delivered from a given queue during a particular cycle.
7.3.1 Assigning Packets to Custom Queues
You can assign packets to custom queues based on the protocol type or interface where the packets enter the router.
Additionally, you can set the default queue for packets that do not match other assignment rules. You can also
specify multiple rules.
To define the CQ lists, use the following commands in global configuration mode, as needed:
Command Purpose
queue-list list-number protocol IP
queue-number { list|tcp|udp} access-
list-number/layer4-port-number
Establishes queueing priorities based on the protocol type.
queue-list list-number interface
interface-type-number queue-number
Establishes CQ based on packets entering from a given
interface.
queue-list list-number default queue-
number
Assigns a queue number for those packets that do not match
any other rule in the custom queue list (optional).
When you use multiple rules, remember that the system reads the queue-list commands in order of appearance.
When classifying a packet, the system searches the list of rules specified by the queue-list commands for a