
Command Manual - QoS&QoS Profile
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 QoS Commands
Huawei Technologies Proprietary
1-15
queue0-width queue1-width queue2-width queue3-width queue4-width queue5-width
queue6-width queue7-width
: Minimum delivery bandwidth of each WFQ queue in kbps.
Its granularity is 64 kbps. If the number you enter is in the range of N*64 to (N+1)*64 (N
is a natural number), the switch sets the value to (N+1)*64 automatically. The value for
100 M Ethernet ports is in the range of 64 to 99,968, and the value for Gigabit Ethernet
ports is in the range of 64 to 1,000,000. The value 0 means the corresponding queue
uses the SP scheduling.
wrr
: Indicates that the queue uses weighted round robin (WRR) scheduling.
queue0-weight queue1-weight queue2-weight queue3-weight queue4-weight
queue5-weight queue6-weight queue7-weight
: Indicates that the queue uses the WRR
scheduling. The value ranges from 0 to 15. The value 0 means the corresponding
queue uses the SP scheduling.
Description
Use the
queue-scheduler
command to configure the queue scheduling mode.
Use the
undo queue-scheduler
command to restore the default value.
The queue scheduling algorithm defined by executing the
queue-scheduler
command
in system view takes effect on all the 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 newly configured queue
scheduling algorithm on this port will replace the globally defined one.
The port of the switch supports eight output queues and you can configure to choose
the queue schedules (SP, WRR, and WFQ) as needed to achieve the implementation
of WRR+SP or WFQ+SP. For example, when using WRR or WFQ, if you set the value
of some queues or the minimum bandwidth to 0, the SP applies to the queues and
WRR or WFQ apply to the rest queues.
By default, the WRR algorithm is selected for all outbound queues on a port, and their
weight values are 1, 2, 3, 4, 5, 9, 13, and 15.
Related command:
display queue-scheduler
.
Example
# Set WRR as the queue scheduling mode, and set the weight value of each queue to 1,
2, 3, 4, 5, 6, 7, and 8 respectively. .
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface Ethernet 1/0/1