R2511-HP MSR Router Series ACL and QoS Configuration Guide(V5)
54
[RouterA] acl number 2002
[RouterA-acl-basic-2002] rule permit source 1.1.1.2 0.0.0.0
# Configure a PQ list that assigns the packets from Server to the top queue and those from Host A to the
bottom queue when congestion occurs. Set the maximum queue size of the top queue to 50 and that of
the bottom queue to 100 in the PQ list.
[RouterA] qos pql 1 protocol ip acl 2001 queue top
[RouterA] qos pql 1 protocol ip acl 2002 queue bottom
[RouterA] qos pql 1 queue top queue-length 50
[RouterA] qos pql 1 queue bottom queue-length 100
# Apply PQ list 1 to Serial 1/1.
[RouterA] interface serial 1/1
[RouterA-Serial1/1] qos pq pql 1
Configuring CQ
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 or PVC.
Configuration restrictions and guidelines
• CQ applies to all physical interfaces except interfaces using X.25 or LAPB protocol at the data link
layer.
• You must enable the rate limit function for the queuing function to take effect on these interfaces:
tunnel interfaces, subinterfaces, HDLC link bundle interfaces, and VT or dialer interfaces configured
with PPPoE, PPPoA, PPPoEoA, PPPoFR, or MPoFR (frame relay traffic shaping is not enabled on the
frame relay interface).
Configuration procedure
To configure CQ:
Ste
p
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
• qos cql cql-index
inbound-interface
interface-type interface-number
queue queue-number
Optional.
Use a command as needed.
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.










