52-67
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 52 Configuring QoS
Configuring QoS on the Switch
This example shows how to allocate the bandwidth for the
2q2t
ports:
Console> (enable)
set qos wrr 2q2t 30 70
QoS wrr ratio is set successfully.
Console> (enable)
Configuring the Receive-Queue Size Ratio
For the
1p1q0t
and
1p1q8t
ports, estimate the mix of standard-priority and strict-priority traffic on your
network (for example, 85 percent standard-priority traffic and 15 percent strict-priority traffic). Specify
the queue ratios with the estimated percentages, which must range from 1– 99 and together add up to
100.
To configure the receive-queue size ratio, perform this task in privileged mode:
This example shows how to configure the receive-queue size ratio:
Console> (enable)
set qos rxq-ratio 1p1q0t 80 20
QoS rxq-ratio is set successfully.
Console> (enable)
Configuring the Transmit-Queue Size Ratio
For the
2q2t
,
1p2q2t
,
1p2q1t
,
1p3q8t
, and
1p7q8t
ports, estimate the mix of the traffic of various
priorities on your network (for example, 75 percent low-priority traffic, 15 percent high-priority traffic,
and 10 percent strict-priority traffic). Specify the queue ratios with the estimated percentages, which
must range from 1– 99 and together add up to 100.
To configure the transmit-queue size ratio for each port type, perform this task in privileged mode:
This example shows how to configure the transmit-queue size ratio:
Console> (enable)
set qos txq-ratio 2q2t 80 20
QoS txq-ratio is set successfully.
Console> (enable)
Mapping the CoS Values to the Drop Thresholds
This command associates the CoS values with the receive- and transmit-queue drop thresholds. QoS
maintains separate configurations for each port type.
Task
Command
Configure the receive-queue size ratio between
receive queue 1 (standard priority) and receive
queue 2 (strict priority).
set qos rxq-ratio
{
1p1q0t
|
1p1q8t
}
queue1-val
queue2-val
Task
Command
Configure the transmit-queue size ratio.
set qos txq-ratio
{
2q2t
|
1p2q2t
|
1p2q1t
|
1p3q8t
|
1p7q8t
}
queue1-val queue2-val
[
queue3-val
[
queue4-val
]]