Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring QoS (Rev. 03)
Overview
© 2008 Foundry Networks, Inc.
Page 34 of 62
•
When both
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-2
<
txq0-weight
> <
txq1-weight>
<
txq2-weight
> <
txq3-weight
> <
txq4-weight
> <
txq5-weight
>
Argument Description
<
txq0-weight
>
…
<
txq5-weight
>
The weights assigned to the weighted transmit queues. The values must be
positive and in the range <1-15>. A higher value means higher weight.
Example
The following example configures hybrid-2 scheduling. The
show qos scheduling
command
displays the scheduling configuration on all ports.
device-name
(config)#
qos scheduling hybrid-2 1 1 2 5 1 1
% Actual proportions may differ due to limited granularity
device-name
(config)#
end
device-name
#
show qos scheduling
================================================================
Interface | scheduling |txq0|txq1|txq2|txq3|txq4|txq5|txq6|txq7
-----------+------------+----+----+----+----+----+----+----+----
All int | hybrid-2 | 1 | 1 | 2 | 5 | 1 | 1 |
Configuring Hybrid-3 QoS Queue Handling
The
qos scheduling hybrid-3
command, in Global Configuration mode, is used to apply and
configure the third hybrid QoS algorithm.
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 in the range <1-15>. A higher value means higher weight.