18.
Quality of Service
MN700004 Rev 01
230
In the third hybrid algorithm,
txq5
,
txq6
and
txq7
are set to behave according to strict priority
scheduling, and the rest of the queues behave according to Weighted Round Robin (WRR).
According to this configuration:
•
tqx7
is serviced as long as it has packets for transmission.
•
When
txq7
is empty,
txq6
is serviced as long as it has packets.
•
When
txq6
is empty,
txq5
is serviced as long as it has packets.
•
When
txq5
,
txq6
and
txq7
are empty, the rest of the queues are serviced according to
their assigned weights.
By default, the SP scheduling is applied.
Command Syntax
device-name(config)#
qos scheduling hybrid-3
<txq0-weight> <txq1-
weight
>
<txq2-weight> <txq3-weight> <txq4-weight>
Argument Description
<txq0-weight> …
<txq4-weight>
The weights assigned to the weighted transmit queues. The values must be
positive and add up to 10 or 100.
Example
The following example configures hybrid-3 scheduling on port 1/1/4. The
show qos
scheduling
command displays the results on the specified port.
device-name
(config-if 1/1/4)#
qos scheduling hybrid-3 packets
10 10 20 20 40
device-name
(config-if 1/1/4)#
end
device-name
#
show qos scheduling
1/1/4
===============================================================
Interface | scheduling |txq0|txq1|txq2|txq3|txq4|txq5|txq6|txq7
----------+------------+----+----+----+----+----+----+----+----
1/ 1/ 4 | hybrid-3 | 10 | 10 | 20 | 20 | 40 | | |
Configuring Hybrid-4 QoS Queue Handling
The
qos scheduling hybrid-4
command, in Global Configuration or Interface Configuration
mode, is used to apply and configure the forth hybrid QoS algorithm.
In the forth hybrid algorithm,
txq4
,
txq5
,
txq6
and
txq7
are set to behave according to strict
priority scheduling, and the rest of the queues behave according to Weighted Round Robin
(WRR). According to this configuration:
•
tqx7
is serviced as long as it has packets for transmission.
•
When
txq7
is empty,
txq6
is serviced as long as it has packets.
•
When
txq6
is empty,
txq5
is serviced as long as it has packets.
•
When
txq5
is empty,
txq4
is serviced as long as it has packets.
•
When
txq4
,
txq5
,
txq6
and
txq7
are empty, the rest of the queues are serviced
according to their assigned weights.
By default, the SP scheduling is applied.
Command Syntax
device-name(config)#
qos scheduling hybrid-4
<txq0-weight> <txq1-
weight
>
<txq2-weight> <txq3-weight>