Configuring A Wfq Queue; Configuration Procedure; Configuration Example - H3C S5120-EI Series Operation Manual

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

[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...
Enter system view
Enter port
view
Enter port
view or
Enter port
port group
group
view
view
Adopt the WFQ queue
scheduling on the port
Configure the minimum
guaranteed bandwidth
for a WFQ queue
Configure a scheduling
weight for the specified
queue

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.
<Sysname> system-view
# Configure the WFQ queues on GigabitEthernet1/0/1 port.
[Sysname] interface GigabitEthernet 1/0/1
Use the command...
system-view
interface interface-type
interface-number
port-group manual
port-group-name
qos wfq
qos bandwidth queue
queue-id min
bandwidth-value
qos wfq queue-id weight
schedule-value
5-6
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
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.
Optional
By default, the minimum guaranteed
bandwidth of a queue is 64 kbps.
Optional
By default, the scheduling weight of a WFQ
queue is 1.

Advertisement

Chapters

Table of Contents
loading

Table of Contents