Operation Manual - QoS&QoS Profile 
Quidway S3900 Series Ethernet Switches-Release 1510  Chapter 1  QoS Configuration
 
Huawei Technologies Proprietary 
1-23 
Table 1-15 Configure queue scheduling in Ethernet port view 
Operation  Command  Description 
Enter system view
 
system-view
  — 
Enter Ethernet port 
view 
interface  interface-type 
interface-number 
— 
Configure the queue 
scheduling mode
 
queue-scheduler 
{ strict-priority | wfq 
queue0-width queue1-width 
queue2-width queue3-width 
queue4-width queue5-width 
queue6-width queue7-width 
|  wrr  queue0-weight 
queue1-weight 
queue2-weight 
queue3-weight 
queue4-weight 
queue5-weight 
queue6-weight 
queue7-weight } 
Required 
In WRR or WFQ mode, if 
the weight value or 
minimum bandwidth of one 
or more queues is set to 0, 
SP algorithm is used for 
this or these queues 
By default, all the outbound 
queues on the port adopt 
the WRR queue scheduling 
algorithm and their default 
weight values are 
1:2:3:4:5:9:13:15 
Display the 
queue-scheduling 
mode and related 
parameters on the 
switch
 
display queue-scheduler 
Optional 
You can execute the 
display command in any 
view
 
 
  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 queue scheduling 
algorithm defined globally cannot satisfy the requirement of a port, you can define 
other queue scheduling algorithm for this port in Ethernet port view of this port. The 
new queue scheduling algorithm on this port will replace the globally defined queue 
scheduling algorithm.   
z  If you have configured port aggregation groups, the queue scheduling algorithm 
defined on a port in a port aggregation group will be synchronized to other ports in 
the aggregation group automatically.  
 
1.10.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;