98
<Sysname> system-view
[Sysname] qos qmprofile myprofile
[Sysname-qmprofile-myprofile]
Related commands
display qos qmprofile interface
queue
queue
Use queue to configure queue scheduling parameters.
Use undo queue to delete queue scheduling parameter settings.
Syntax
queue queue-id { sp | wfq [ group group-id ] { weight | byte-count } schedule-value | wrr group
group-id { weight | byte-count } schedule-value }
undo queue queue-id
Default
All queues in a queue scheduling profile use byte-count WRR queuing.
Views
Queue scheduling profile view
Predefined user roles
network-admin
Parameters
queue-id: Specifies a queue by its ID. The value range for this argument is 0 to 7 or keywords
in Table 30.
sp: Enable
s 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 group ID can only be 1.
byte-count: Allocates bandwidth to queues in terms of bytes.
weight: Allocates bandwidth to queues based on their weights.
schedule-value: Specifies the scheduling weight. The value range for this argument is 1 to 15.
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 scheduling weight is 10.
<Sysname> system-view