48
Step Command
Remarks
5.
Assign a queue to the WFQ
group, and configure a
scheduling weight for the
queue.
qos wfq queue-id
group
1
{
byte-count
|
weight
}
schedule-value
By default, all queues on a
WFQ-enabled interface are in WFQ
group 1 and have a scheduling value of
1.
Select
byte-count
or
weight
according
to the WFQ type (byte-count or
packet-based) you have enabled.
6.
(Optional.) Set the minimum
guaranteed bandwidth for a
queue.
qos bandwidth queue
queue-id min
bandwidth-value
The default setting is 0 kbps.
Configuration example
1.
Network requirements
{
Configure SP+WFQ queuing on Ten-GigabitEthernet 1/0/1, and use packet-based WFQ.
{
Assign queues 4 through 7 to the SP group.
{
Assign queues 0 through 3 to WFQ group 1, with their weights as 1, 2, 1, and 3,
respectively.
{
Set the minimum guaranteed bandwidth to 128 Mbps for each of the four WFQ queues.
2.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Configure SP+WFQ queuing on Ten-GigabitEthernet 1/0/1.
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] qos wfq weight
[Sysname-Ten-GigabitEthernet1/0/1] qos wfq 4 group sp
[Sysname-Ten-GigabitEthernet1/0/1] qos wfq 5 group sp
[Sysname-Ten-GigabitEthernet1/0/1] qos wfq 6 group sp
[Sysname-Ten-GigabitEthernet1/0/1] qos wfq 7 group sp
[Sysname-Ten-GigabitEthernet1/0/1] qos wfq 0 group 1 weight 1
[Sysname-Ten-GigabitEthernet1/0/1] qos bandwidth queue 4 min 128000
[Sysname-Ten-GigabitEthernet1/0/1] qos wfq 1 group 1 weight 2
[Sysname-Ten-GigabitEthernet1/0/1] qos bandwidth queue 5 min 128000
[Sysname-Ten-GigabitEthernet1/0/1] qos wfq 2 group 1 weight 1
[Sysname-Ten-GigabitEthernet1/0/1] qos bandwidth queue 6 min 128000
[Sysname-Ten-GigabitEthernet1/0/1] qos wfq 3 group 1 weight 3
[Sysname-Ten-GigabitEthernet1/0/1] qos bandwidth queue 7 min 128000
Configuring a queue scheduling profile
In a queue scheduling profile, you can configure scheduling parameters for each queue on an
interface. By applying the queue scheduling profile to an interface, you can implement congestion
management on the interface.
Queue scheduling profiles support three queue scheduling algorithms: SP, WRR, and WFQ. In a
queue scheduling profile, you can configure SP+WRR or SP+WFQ. When the three queue
scheduling algorithms are configured, SP queues, WRR groups, and WFQ groups are scheduled in
descending order of queue ID. In a WRR or WFQ group, queues are scheduled based on their
weights. When SP and WRR groups are configured in a queue scheduling profile,
shows
the scheduling order.
Summary of Contents for FlexFabric 5940 Series
Page 23: ...17 Figure 3 QoS processing flow ...
Page 84: ...78 Figure 26 MPLS label structure ...
Page 91: ...85 Switch burst mode enable ...