Configuration example, Configuration procedure, Configuring wrr queuing – H3C Technologies H3C S10500 Series Switches User Manual

Page 55

Advertising
background image

47

To do…

Use the command…

Remarks

Display SP queuing
configuration

display qos sp interface
[ interface-type
interface-number
] [ | { begin |

exclude | include }

regular-expression ]

Optional
Available in any view

Configuration example

1.

Network requirements

Configure GigabitEthernet 1/0/1 to use SP queuing.

2.

Configuration procedure

# Enter system view

<Sysname> system-view

# Configure GigabitEthernet1/0/1 to use SP queuing.

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] qos sp

Configuring WRR queuing

Configuration procedure

Follow these steps to configure WRR queuing:

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 the scheduling

weight for a queue

qos wrr queue-id group group-id

weight schedule-value

Optional
By default, the weights of queues 0

through 7 are 1, 2, 3, 4, 5, 6, 7, and 8.

Display WRR queuing
configuration information on

interfaces

display qos wrr interface
[ interface-type interface-number ]

[ | { begin | exclude | include }
regular-expression ]

Optional
Available in any view

Configuration example

1.

Network requirements

Enable byte-count WRR on port GigabitEthernet 1/0/1.

Assign queues 0 through 7 to the WRR group, with their weights being 1, 2, 4, 6, 8, 10, 12, and
14, respectively.

Advertising
This manual is related to the following products: