beautypg.com

Configuration examples, Network requirements, Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 446: Displaying and maintaining congestion management

background image

46-6

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

qos wrr queue-id group

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.

Configure WRR queue
scheduling

qos wrr queue-id group group-id
weight queue-weight

Required

Configuration Examples

Network requirements

z

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

z

Configure queue 0, queue 1, queue 2 and queue 3 on GigabitEthernet0/0/1 to be in SP queue
scheduling group.

z

Configure queue 4, queue 5, queue 6 and queue 7 on GigabitEthernet0/0/1 to be in WRR queue
scheduling group, with the weight being 2, 4, 6 and 8 respectively.

Configuration procedure

# Enter system view.

system-view

# Enable the SP+WRR queue scheduling algorithm on GigabitEthernet0/0/1.

[Sysname] interface GigabitEthernet 0/0/1

[Sysname-GigabitEthernet0/0/1] qos wrr 0 group sp

[Sysname-GigabitEthernet0/0/1] qos wrr 1 group sp

[Sysname-GigabitEthernet0/0/1] qos wrr 2 group sp

[Sysname-GigabitEthernet0/0/1] qos wrr 3 group sp

[Sysname-GigabitEthernet0/0/1] qos wrr 4 group 1 weight 2

[Sysname-GigabitEthernet0/0/1] qos wrr 5 group 1 weight 4

[Sysname-GigabitEthernet0/0/1] qos wrr 6 group 1 weight 6

[Sysname-GigabitEthernet0/0/1] qos wrr 7 group 1 weight 8

Displaying and Maintaining Congestion Management

To do…

Use the command…

Remarks

Display WRR queue configuration
information

display qos wrr interface

[ interface-type interface-number ]

Display SP queue configuration
information

display qos sp interface

[ interface-type interface-number ]

Available in any view