52
[RouterA] interface serial 2/1/1
[RouterA-Serial2/1/1] qos pq pql 1
Configuring CQ
This feature is not supported on SAP modules operating in bridge mode.
You can configure a CQ list that contains up to 16 queues (1-16), with each queue including the
match criteria for packets to enter the queue, the length of the queue, and the bytes sent from the
queue during a cycle of round robin queue scheduling. Only one CQ list can be applied to an
interface.
You must enable the rate limit function for the queuing function to take effect on these interfaces:
tunnel interfaces, subinterfaces, Layer 3 aggregate interfaces, HDLC link bundle interfaces, RPR
logical interfaces, and VT interfaces configured with PPPoE, PPPoA, or PPPoEoA.
To configure CQ:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a CQ list.
qos cql
cql-index
protocol
ip
[
queue-key key-value
]
queue
queue-number
Optional.
3.
Specify the default queue.
qos cql
cql-index
default-queue
queue-number
Optional.
This command specifies the
queue to which unmatched
packets are assigned.
4.
Set the length of a queue.
qos cql
cql-index
queue
queue-number
queue-length
queue-length
Optional.
5.
Configure the bytes sent
from a queue during a cycle
of round robin queue
scheduling.
qos cql
cql-index
queue
queue-number
serving
byte-count
Optional.
6.
Enter interface view.
interface
interface-type
interface-number
N/A
7.
Apply the CQ list to the
interface.
qos cq cql
cql-index
By default, FIFO applies.
8.
Display CQ list configuration
on an interface.
display qos cq interface
[
interface-type interface-number
]
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Optional.
Available in any view.
9.
Display the configuration of a
CQ list.
display qos cql
[
cql-index
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Optional.
Available in any view.
CQ configuration example
Network requirements
Configure CQ on interface Serial 2/1/1 to assign packets matching ACL 2000 to queue 1 and specify
queue 1 to send 2000 bytes during a cycle of round robin queue scheduling.