The interface view is displayed.
Step 3
Run:
qos queue
queue-index
static-cell
cell-number
The minimum size of the static buffer in an interface queue is set.
----End
3.3.4 Setting the Scheduling Mode for an Interface Queue
The S3700 supports the following scheduling modes: PQ, DRR, WRR, PQ+DRR, and PQ
+WRR.
Context
The S3700 supports eight interface queues that can use different scheduling algorithms. During
queue scheduling, packets in a PQ queue are first scheduled. If there are multiple PQ queues,
the packets are scheduled in descending order of priorities of these PQ queues. After packets in
PQ queues are scheduled, packets in WRR or DRR queues are scheduled in a polling manner.
If you need to set the same scheduling parameters on multiple interfaces, you can perform the
configuration on the port group to reduce the workload.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Or run the
port-group
port-group-name
command to enter the port group view.
NOTE
Create a port group before performing this task. For details about creating a port group, see (Optional)
Configuring a Port Group in the
S3700HI Ethernet Switches Configuration Guide - Ethernet
.
Step 3
Run:
qos
{
pq
|
wrr
|
drr
}
The scheduling mode of an interface queue is set to PQ, WRR, or DRR.
By default, WRR scheduling is used.
Step 4
(Optional) Run:
qos queue
queue-index
wrr
weight
weight
The weight of an interface queue in WRR mode is set.
By default, the weight in WRR mode is 1.
You need to perform this step only when the scheduling mode of an interface queue is set to
WRR or PQ+WRR.
S3700HI Ethernet Switches
Configuration Guide - QoS
3 Congestion Avoidance and Congestion Management
Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
94