H3C LS-3100-52P-OVS-H3 Operation Manual - page 1288
5-7
[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…
Use the command…
Remarks
Enter system view
system-view
—
Enter port
view
interface interface-type
interface-number
Enter port
view or
port group
view
Enter port
group view
port-group manual
port-group-name
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.
Enable the WRR queue
scheduling on the port
qos wrr
Required
Configure SP queue
scheduling
qos wrr queue-id group sp
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.
Configure WRR queue
scheduling
qos wrr queue-id group
group-id weight
schedule-value
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.
Configuration Example
Network requirements
z
Configure to adopt SP+WRR queue scheduling algorithm on GigabitEthernet1/0/1.
z
Configure queue 0, queue 1, queue 2 and queue 3 on GigabitEthernet1/0/1 to be in SP queue
scheduling group.
z
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.