Configuration example, Configure wrr queuing, Configuration procedure – H3C Technologies H3C S5120 Series Switches User Manual

Page 367

Advertising
background image

5-5

To do…

Use the command…

Remarks

Configure SP queuing

undo qos wrr

Optional

The default queuing algorithm on an
interface is SP queuing.

Configuration example

1) Network

requirements

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

2) Configuration

procedure

# Enter system view

<Sysname> system-view

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

[Sysname]interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] undo qos wrr

Configure WRR Queuing

Configuration procedure

Follow these steps to configure basic 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.

Configure a WRR queue

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

Required

The default queuing algorithm on an
interface is SP queuing.

Display WRR queuing
configuration information
on interface(s)

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

Optional

Available in any view

To guarantee that WRR correctly schedules queues according to their weights, make sure that the

queue IDs in each WRR group are contiguous.

Configuration example

1) Network

requirements

z

Enable WRR queuing on the interface.

Advertising