R3303-HP HSR6800 Routers ACL and QoS Command Reference
96
Examples
# Specify queue 2 as the default queue for CQ list 5.
<Sysname> system-view
[Sysname] qos cql 5 default-queue 2
Related commands
• qos cql protocol
• qos cql queue serving
• qos cql queue queue-length
• qos cq
qos cql protocol
Use qos cql protocol to assign a custom queue for IP packets that match a certain criterion.
Use undo qos cql protocol to delete the match criterion.
Syntax
qos cql cql-index protocol ip [ queue-key key-value ] queue queue-number
undo qos cql cql-index protocol ip [ queue-key key-value ]
Default
No match criterion is configured.
Views
System view
Default command level
2: System level
Parameters
cql-index: CQ list index in the range of 1 to 16.
queue queue-number: Specifies an custom queue by its number in the range of 1 to 16.
ip [ queue-key key-value ]: Classifies and enqueues IP packets. The values for the queue-key argument
and the key-value argument are displayed in Table 31. If ne
ither the queue-key argument nor the
key-value argument is specified, all IP packets are enqueued.
Table 31 Values for the
queue-key
argument and the
key-value
argument
q
ueue-ke
y
ke
y
-value Descri
p
tion
acl ACL number (2000 to 3999)
All IP packets matching the specified ACL are enqueued.
fragments N/A All fragmented IP packets are enqueued.
greater-than Length (0 to 65535)
IP packets larger than a specified value are enqueued.
less-than Length (0 to 65535)
IP packets smaller than a specified value are enqueued.
tcp Port number (0 to 65535)
IP packets with a specified TCP source or destination port
number are enqueued.
udp Port number (0 to 65535)
IP packets with a specified UDP source or destination port
number are enqueued.