H3C LS-3100-52P-OVS-H3 Operation Manual - page 1287
5-6
[Sysname-GigabitEthernet1/0/1] qos wrr 1 group 1 weight 2
[Sysname-GigabitEthernet1/0/1] qos wrr 2 group 1 weight 4
[Sysname-GigabitEthernet1/0/1] qos wrr 3 group 1 weight 6
[Sysname-GigabitEthernet1/0/1] qos wrr 4 group 1 weight 8
[Sysname-GigabitEthernet1/0/1] qos wrr 5 group 1 weight 10
[Sysname-GigabitEthernet1/0/1] qos wrr 6 group 1 weight 12
[Sysname-GigabitEthernet1/0/1] qos wrr 7 group 1 weight 14
Configuring a WFQ Queue
By default, all ports adopt the WRR queue algorithm. You can configure a port to use the WFQ algorithm
instead as required.
Configuration Procedure
Follow these steps to configure WFQ 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
Adopt the WFQ queue
scheduling on the port
qos wfq
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 the minimum
guaranteed bandwidth
for a WFQ queue
qos bandwidth queue
queue-id min
bandwidth-value
Optional
By default, the minimum guaranteed
bandwidth of a queue is 64 kbps.
Configure a scheduling
weight for the specified
queue
qos wfq queue-id weight
schedule-value
Optional
By default, the scheduling weight of a WFQ
queue is 1.
Configuration Example
Network requirements
Enable WFQ on GigabitEthernet 1/0/1 and assign weight values 1, 2, 4, 6, 8, 10, 12, and 14 to queues
0 through 7 respectively.
Configuration procedure
# Enter system view.
# Configure the WFQ queues on GigabitEthernet1/0/1 port.
[Sysname] interface GigabitEthernet 1/0/1