Command Reference Guide

94
undo queue queue-id
Default
A queue uses SP queuing.
Views
Queue scheduling profile view
Predefined user roles
network-admin
Parameters
queue-id: Specifies a queue by its ID in the range of 0 to 7.
sp: Enables SP for the queue.
wfq: Enables WFQ for the queue.
wrr: Enables WRR for the queue.
group group-id: Specifies a WFQ or WRR group by its ID. The value range is 1 and 2.
byte-count: Allocates bandwidth to queues in terms of bytes.
weight: Allocates bandwidth to queues in terms of packets.
schedule-value: Specifies the number of bytes or packets sent each time, in the range of 1 to 127.
Usage guidelines
The queue-id argument can be either a number or a keyword. Table 33 shows the number-keyword map.
Examples
# Create a queue scheduling profile named myprofile, and configure queue 0 to use SP.
<Sysname> system-view
[Sysname] qos qmprofile myprofile
[Sysname-qmprofile-myprofile] queue 0 sp
# Create a queue scheduling profile named myprofile. Configure queue 1 to meet the following
requirements:
The WRR queuing is used.
The WRR group is group 1.
The number of packets sent each time is 10.
<Sysname> system-view
[Sysname] qos qmprofile myprofile
[Sysname-qmprofile-myprofile] queue 1 wrr group 1 weight 10
Related commands
display qos qmprofile interface
qos qmprofile