18.
Quality of Service
MN700004 Rev 01
231
Argument Description
<txq0-weight> …
<txq3-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-4 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-4 packe
ts 10 20 30 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-4 | 10 | 20 | 30 | 40 |
| | |
Configuring Hybrid-5 QoS Queue Handling
The
qos scheduling hybrid-5
command, in Global Configuration or Interface Configuration
mode, is used to apply and configure the fifth hybrid QoS algorithm.
In the fifth hybrid algorithm,
txq3
,
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
is empty,
txq3
is serviced as long as it has packets.
•
When
txq3
,
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>
Argument Description
<txq0-weight> …
<txq2-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-5 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-5 packets
20 30 50
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-5 | 20 | 30 | 50 |
|
| | |