Configuring an sp queue, Configuration procedure, Configuration examples – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 444: Network requirements, Configuring a wrr queue, 4 configuration examples

Advertising
background image

46-4

Configuring an SP Queue

Configuration Procedure

Follow these steps to configure SP 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 | aggregation

agg-id

}

Perform either of the two operations.
The configuration performed in Ethernet port
view applies to the current port only. The
configuration performed in port group view
applies to all the ports in the port group.

Configure SP queue
scheduling algorithm

qos sp

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.

Configuration Examples

Network requirements

Configure GigabitEthernet0/0/1 to adopt SP queue scheduling algorithm.

Configuration procedure

# Enter system view.

<Sysname> system-view

# Configure an SP queue for GigabitEthernet0/0/1 port.

[Sysname] interface GigabitEthernet 0/0/1

[Sysname-GigabitEthernet0/0/1] qos sp

Configuring a WRR Queue

By default, SP queue scheduling algorithm is adopted on all the ports. You can adopt WRR queue
scheduling algorithm as required.

Configuration Procedure

Follow these steps to configure WRR queues:

Advertising