beautypg.com

3 configuration example, 3 configuration example -14 – H3C Technologies H3C S3100 Series Switches User Manual

Page 407

background image

Operation Manual – QoS

H3C S3100-52P Ethernet Switch

Chapter 1 QoS Configuration

1-14

Note:

z

The queue scheduling algorithm defined by executing the queue-scheduler
command in system view takes effect on all ports of the switch. The queue
scheduling algorithm defined by executing the queue-scheduler command in
Ethernet port view takes effect on the current port only. If the weight values of the
queues in the WRR queue scheduling algorithm defined globally cannot satisfy the
requirement of a port, you can modify the weight values of the queues in Ethernet
port view of this port. A new queue scheduling algorithm on this port will overwrite
the globally defined queue weight value. You cannot use the display
queue-scheduler

command to display the queue weight defined in Ethernet port

view.

z

If you have configured link aggregation groups, the queue scheduling algorithm
defined on a port in an aggregation group will be synchronized to other ports in the
aggregation group automatically.

1.7.3 Configuration Example

z

The switch adopts the WRR queue scheduling algorithm, and the weight values of
outbound queues are 2, 2, 3, 3, 4, 4, 5, and 5, respectively;

z

Disable the applied queue scheduling mode. By default, all outbound queues on
the port adopts the WRR queue scheduling algorithm and their default weight
values are 1:2:3:4:5:9:13:15;

z

Query the configuration information.

Configuration procedure:

system-view

System View: return to User View with Ctrl+Z.

[H3C] queue-scheduler wrr 2 2 3 3 4 4 5 5

[H3C]display queue-scheduler

Queue scheduling mode: weighted round robin

weight of queue 0: 2

weight of queue 1: 2

weight of queue 2: 3

weight of queue 3: 3

weight of queue 4: 4

weight of queue 5: 4

weight of queue 6: 5

weight of queue 7: 5

[H3C] undo queue-scheduler

[H3C] display queue-scheduler

weight of queue 0: 1