Command Reference Guide

3Com Router 5000 Family and Router 6000 Family qos cql protocol 87
Command Reference
qos cql protocol
Purpose Use the qos cql protocol command to establish classification rules based on the
protocol type.
Use the
undo qos cql protocol command to delete corresponding classification
rules.
Syntax qos cql cql-index protocol protocol-name queue-key key-value queue
queue-number
undo qos cql cql-index protocol protocol-name [ queue-key key-value ]
Parameters cql-index
CQL index, ranging 1 to 16.
protocol-name
Protocol name, which can only be IP by far.
queue-number
Queue number, ranging 0 to 16.
When protocol-name is IP, the values of queue-key and key-value are
displayed in the following table:
When queue-key is tcp or udp, key-value can be port name or the associated
port number. You can enter “?” to get the port numbers associated with port names.
Example Specify CQ rule 5 to make any IP packet that matches the ACL 3100 be put into
queue 3.
[3Com ] qos cql 5 protocol ip acl 3100 queue 3y
Table 1 Descriptions of values of queue-key and key-value
queue-key key-value description
fragments Null All IP fragments are enqueued.
Acl ACL group number,
2000 to 3999
All IP packets that match the
specified ACL are enqueued.
less-than Length, 0 to 65535 Link layer data units smaller than the
specified value are enqueued.
greater-than Length, 0to 65535 Link layer data units greater than the
specified value are enqueued.
tcp Port number, 0 to 65535 IP packets with the source or
destination TCP port number being
the specified port number are
enqueued.
udp Port number, 0 to 65535 IP packets with the source or
destination UDP port number being
the specified port number are
enqueued.
- - All IP Packets