Operation Manual – QoS
Quidway S3100 Series Ethernet Switches Chapter 1
QoS Configuration
Huawei Technologies Proprietary
1-11
1.7 Configuring Queue Scheduling Algorithm
1.7.1 Prerequisites
z Mapping relationships between the priority and local precedence queue have
been established. Refer to
1.5 Configuring Priority - Local Precedence Queue
Mapping
.
z The priority to trust has been determined (from the 802.1p priority, IP precedence,
and DSCP precedence). Refer to
1.6 Configuring Packet Priority.
z The scheduling algorithm (WRR or HQ+WRR) has been determined, and the
weight value for each queue has been allocated.
1.7.2 Configuration Procedure
Table 1-13 Configure the queue scheduling algorithm
Operation Command Description
Enter system view
system-view
—
Set the queue
scheduling
algorithm
queue-scheduler { hq-wrr
queue0-weight
queue1-weight
queue2-weight | wrr
queue0-weight
queue1-weight
queue2-weight
queue3-weight }
Required
Defaults to WRR algorithm
with a weight ratio of 1:2:3:4.
Display the queue
scheduling
algorithm in use
display queue-scheduler
Can be executed in any view.
1.7.3 Configuration Example
I. Network requirements
z 802.1p priority is in use.
z WRR algorithm is in use with a weight ratio of 2:3:4:5
z The “802.1p priority - local precedence queue” mapping table is shown as follows.
Table 1-14 “802.1p priority - local precedence queue” mapping table
802.1p priority Local precedence queue
0 0
1 0
2 1
3 1