queue
Use queue to configure queue scheduling parameters.
Use undo queue to restore the default.
Syntax
queue queue-id { sp | wrr group group-id byte-count schedule-value }
undo queue queue-id
Default
A newly created queue scheduling profile uses SP queuing for all queues.
Views
Queue scheduling profile view
Predefined user roles
network-admin
mdc-admin
Parameters
queue-id: Specifies a queue by a number or keyword. For the number-keyword mapping, see Table 38.
sp: Enables SP for the queue.
wrr: Enables WRR for the queue.
group-id: Specifies a WRR priority group ID. The value range is 1 and 2.
byte-count: Allocates bandwidth based on the number of bytes.
schedule-value: Specifies a scheduling weight in the range of 1 to 250.
Examples
# Create queue scheduling profile myprofile and configure queue 0 to use SP.
<Sysname> system-view [Sysname] qos qmprofile myprofile [Sysname-qmprofile-myprofile] queue 0 sp
# Create queue scheduling profile myprofile, configure queue 1 to use WRR, set the scheduling weight of queue 1 to 100, and assign queue 1 to WRR priority group 1.
<Sysname> system-view [Sysname] qos qmprofile myprofile [Sysname-qmprofile-myprofile] queue 1 wrr group 1 byte-count 100
Related commands
display qos qmprofile interface
qos qmprofile