R3303-HP HSR6800 Routers ACL and QoS Command Reference
91
top, middle, normal, bottom: Corresponds to the four queues in PQ in descending priority order.
ip [ queue-key key-value ]: Classifies and enqueues IP packets. If neither the queue-key argument nor the
key-value argument is specified, all IP packets are enqueued.
Table 29 Values of the
queue-key
argument and the
key-value
argument
q
ueue-ke
y
ke
y
-value Descri
p
tion
acl ACL number from 2000 to 3999
IP packets matching the specified ACL are enqueued.
fragments — Fragmented IP packets are enqueued.
greater-than Length from 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 source or destination TCP port
number are enqueued.
udp Port number (0 to 65535)
IP packets with a specified source or destination UDP port
number are enqueued.
When the queue-key is tcp or udp, the key-value can be either a port name or port number.
Usage guidelines
The system matches a packet with match criteria in the order configured. When the packet matches a
certain criterion, the matching process is over.
You can execute this command multiple times with the same pql-index argument to create multiple match
criteria for IP packets.
Examples
# Create a rule in PQL 1 to assign IP packets matching ACL 3100 to the top queue.
<Sysname> system-view
[Sysname] qos pql 1 protocol ip acl 3100 queue top
Related commands
• qos pql default-queue
• qos pql queue
• qos pq
qos pql queue
Use qos pql queue to specify the length of a specified priority queue (the maximum number of packets
that the priority queue can hold).
Use undo qos pql queue to restore the default for a priority queue.
Syntax
qos pql pql-index queue { bottom | middle | normal | top } queue-length queue-length
undo qos pql pql-index queue { bottom | middle | normal | top } queue-length
Default
The queue length values for the four priority queues are as follows: