5-7
To do…
Use the command…
Remarks
group view
Enter port
group view
port-group manual
port-group-name
settings in port group view take
effect on all ports in the port
group.
Enable WFQ queuing
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
an WFQ queue
qos bandwidth queue queue-id
min bandwidth-value
Optional
64 kbps by default
Specify the queue
scheduling weight for an
WFQ queue
qos wfq queue-id
weight
schedule-value
Optional
1 by default
Configuration example
1) Network
requirements
z
Enable WFQ on GigabitEthernet 1/0/1, and set the weights of queues 0 through 7 to 1, 2, 4, 6, 8, 10,
12, and 14 respectively.
z
Set the minimum guaranteed bandwidth of queue 0 to 128 kbps.
2) Configuration
procedure
# Enter system view.
<Sysname> system-view
# Configure WFQ queues on GigabitEthernet 1/0/1.
[Sysname] interface GigabitEthernet 1/0/1
[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
# Set the minimum guaranteed bandwidth of queue 0 to 128 kbps.
[Sysname-GigabitEthernet1/0/1] qos bandwidth queue 0 min 128
Configuring SP+WRR Queues
Configuration Procedure
Follow these steps to configure SP + WRR queues:
To do…
Use the command…
Remarks
Enter system view
system-view
—