beautypg.com

Configuration example, Configuring sp+wrr queuing, Configuration procedure – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 47

background image

40

NOTE:

Support for queue scheduling types depends on your device model.

Interface types supporting queue scheduling profiles depends on your device model.

Only one queue scheduling profile can be applied to an interface.

Configuration example

1.

Network requirements

Enable WRR queuing on interface GigabitEthernet 1/0/1.

Assign queues 0 and 1 to WRR scheduling group 1, with the weight of 10 and 20, respectively.

Assign queues 2 and 3 to WRR scheduling group 2, with the weight of 30 and 50, respectively.

2.

Configuration procedure

# Enter system view.

system-view

# Configure WRR queuing on interface GigabitEthernet 1/0/1.

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] qos wrr 0 group 1 weight 10

[Sysname-GigabitEthernet1/0/1] qos wrr 1 group 1 weight 20

[Sysname-GigabitEthernet1/0/1] qos wrr 2 group 2 weight 30

[Sysname-GigabitEthernet1/0/1] qos wrr 3 group 2 weight 50

Configuring SP+WRR queuing

Configuration procedure

Follow these steps to configure basic SP+WRR queuing:

To do…

Use the command…

Remarks

Enter system view

system-view —

Enter interface
view or port

group view

Enter interface
view

interface interface-type
interface-number

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.

Enter port group
view

port-group manual
port-group-name

Assign a queue to the SP scheduling
group

qos wrr queue-id group sp

Required

Assign a queue to the specified
WRR scheduling group, and specify

a weight for the queue

qos wrr queue-id group group-id
weight schedule-value

Required

NOTE:

To guarantee that WRR queues are scheduled according to their weights, assign queues with continuous
numbers to the same WRR scheduling group when configuring SP+WRR queuing.