[Sysname-GigabitEthernet1/0/1] qos wfq
[Sysname-GigabitEthernet1/0/1] qos wfq 0 weight 1
[Sysname-GigabitEthernet1/0/1] qos wfq 1 weight 2
[Sysname-GigabitEthernet1/0/1] qos wfq 2 weight 4
[Sysname-GigabitEthernet1/0/1] qos wfq 3 weight 6
[Sysname-GigabitEthernet1/0/1] qos wfq 4 weight 8
[Sysname-GigabitEthernet1/0/1] qos wfq 5 weight 10
[Sysname-GigabitEthernet1/0/1] qos wfq 6 weight 12
[Sysname-GigabitEthernet1/0/1] qos wfq 7 weight 14
Configuring SP+WRR Queues
By default, all ports adopt the WRR queue algorithm. You can configure a port to use the SP+WRR
queue scheduling algorithm as required.
Configuration Procedure
Follow these steps to configure SP + WRR queues:
To do...
Enter system view
Enter port
view
Enter port
view or
port group
Enter port
view
group view
Enable the WRR queue
scheduling on the port
Configure SP queue
scheduling
Configure WRR queue
scheduling
Configuration Example
Network requirements
Configure to adopt SP+WRR queue scheduling algorithm on GigabitEthernet1/0/1.
Configure queue 0, queue 1, queue 2 and queue 3 on GigabitEthernet1/0/1 to be in SP queue
scheduling group.
Configure queue 4, queue 5, queue 6 and queue 7 on GigabitEthernet1/0/1 to be in WRR queue
scheduling group, with the weight being 2, 4, 6 and 8 respectively.
Use the command...
system-view
interface interface-type
interface-number
port-group manual
port-group-name
qos wrr
qos wrr queue-id group sp
qos wrr queue-id group
group-id weight
schedule-value
5-7
Remarks
—
Perform either of the two operations.
The configuration performed in
Ethernet interface view applies to the
current port only. The configuration
performed in port group view applies
to all the ports in the port group.
Required
Required
By default, all the ports adopt the WRR
queue scheduling algorithm, with the
weight values assigned to queue 0
through queue 7 being 1, 2, 3, 4, 5, 9,
13, and 15.
Required
By default, all the ports adopt the WRR
queue scheduling algorithm, with the
weight values assigned to queue 0
through queue 7 being 1, 2, 3, 4, 5, 9,
13, and 15.