# Apply PQ list 1 to GigabitEthernet 1/0/2.
[RouterA] interface gigabitethernet 1/0/2
[RouterA-GigabitEthernet1/0/2] qos pq pql 1
Configuring CQ
You can configure a CQ list that contains up to 16 queues. The CQ list specifies the following
information:
•
The queue where a packet is placed in.
•
The maximum length of each queue.
•
The number of bytes sent from the queue during a cycle of round robin scheduling.
Configuration restrictions and guidelines
•
If you apply multiple CQ lists to an interface or PVC, the CQ list last applied takes effect.
•
You must configure the rate limit for the CQ feature to take effect on the following interfaces:
Tunnel interfaces.
Subinterfaces.
Layer 3 aggregate interfaces.
HDLC link bundle interfaces.
VT and dialer interfaces configured with PPPoE, PPPoA, PPPoFR, or MPoFR. (To
configure MPoFR, make sure the Frame Relay interface in MPoFR is not enabled with
FRTS.)
Configuration procedure
To configure CQ:
Step
1.
Enter system view.
2.
Configure a CQ list.
3.
(Optional.)
queue as the default queue
for a CQ list.
Command
system-view
•
qos cql cql-index protocol
{ ip | ipv6 } [ queue-key
key-value ] queue queue-id
•
qos
inbound-interface
interface-type
interface-number
queue-id
•
qos
local-precedence
local-precedence-list queue
queue-id
•
qos cql cql-index protocol
mpls exp exp-list queue
queue-id
Configure
a
qos cql cql-index default-queue
queue-id
cql
cql-index
queue
cql
cql-index
69
Remarks
N/A
Use
one
or
more
commands.
By default, queue 1 is the default
queue.
The default queue enqueues
packets that do not match any
criteria in a CQ list.
of
the