beautypg.com

Configuration example, Configuration procedure, Configuring sp+wrr queues – H3C Technologies H3C S10500 Series Switches User Manual

Page 57

background image

49

NOTE:

To guarantee successful WFQ configuration, make sure that the scheduling weight type (byte-count or
packet-based) is the same as the WFQ queuing type (byte-count or packet-based) when configuring the

scheduling weight for a WFQ queue.

Configuration example

1.

Network requirements

Configure WFQ queues on an interface and assign the scheduling weight 2, 5, 10, 10, and 10 to queue

1, queue 3, queue 4, queue 5, and queue 6, respectively.

2.

Configuration procedure

# Enter system view.

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 1 weight 2

[Sysname-GigabitEthernet1/0/1] qos wfq 3 weight 5

[Sysname-GigabitEthernet1/0/1] qos wfq 4 weight 10

[Sysname-GigabitEthernet1/0/1] qos wfq 5 weight 10

[Sysname-GigabitEthernet1/0/1] qos wfq 6 weight 10

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

Enter interface
view

interface interface-type
interface-number

Enter interface
view or port

group view

Enter port group
view

port-group manual
port-group-name

Use either command
Settings in interface view take effect on the
current interface; settings in port group view

take effect on all ports in the port group.

Enable WRR queuing

qos wrr

Required
The default queuing algorithm on an interface
is SP queuing.

Configure SP queue scheduling

qos wrr queue-id group

sp

Required
By default, all the queues of a WRR-enabled

port use the WRR queue scheduling algorithm.

Configure the scheduling weight
for a queue

qos wrr queue-id group
1 weight schedule-value

Required
By default, byte-count WRR is used, and the

weights of queues 0 through 7 are 1, 2, 3, 4,

5, 6, 7, and 8.

Configuration example

1.

Network requirements

This manual is related to the following products: