R3303-HP HSR6800 Routers ACL and QoS Configuration Guide
56
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.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Configure ACL 2000 to match packets sourced from 1.1.1.1 0.0.0.0.
[Sysname] acl number 2001
[Sysname-acl-basic-2001] rule permit source 1.1.1.1 0.0.0.0
# Configure CQ list 1.
[Sysname] qos cql 1 protocol ip acl 2001 queue 1
[Sysname] qos cql 1 queue 1 serving 2000
# Apply CQ list 1 to interface Serial 2/1/1.
[Sysname] interface serial 2/1/1
[Sysname-Serial 2/1/1] qos cq cql 1
Configuring WFQ
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.
On an interface without WFQ configured, the qos wfq command can enable WFQ and configure
WFQ-related parameters. If WFQ is configured for the interface, the qos wfq command can modify the
WFQ-related parameters.
To configure WFQ:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number
N/A