2-294
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
mls qos srr-queue input bandwidth
mls qos srr-queue input bandwidth
Use the
mls qos srr-queue input bandwidth
global configuration command to assign shaped round
robin (SRR) weights to an ingress queue. The ratio of the weights is the ratio of the frequency in which
the SRR scheduler sends packets from each queue. Use the
no
form of this command to return to the
default setting.
mls qos srr-queue input bandwidth
weight1 weight2
no mls qos srr-queue input bandwidth
Syntax Description
Defaults
Weight1 and weight2 are 4 (1/2 of the bandwidth is equally shared between the two queues).
Command Modes
Global configuration
Command History
Usage Guidelines
SRR services the priority queue for its configured weight as specified by the
bandwidth
keyword in the
mls qos srr-queue input priority-queue
queue-id
bandwidth
weight
global configuration command.
Then SRR shares the remaining bandwidth with both ingress queues and services them as specified by
the weights configured with the
mls qos srr-queue input bandwidth
weight1 weight2
global
configuration command.
You specify which ingress queue is the priority queue by using the
mls qos srr-queue input
priority-queue
global configuration command.
Examples
This example shows how to assign the ingress bandwidth for the queues. Priority queueing is disabled,
and the shared bandwidth ratio allocated to queue 1 is 25/(25+75) and to queue 2 is 75/(25+75).
Switch(config)#
mls qos srr-queue input priority-queue 2 bandwidth 0
Switch(config)#
mls qos srr-queue input bandwidth 25 75
In this example, queue 2 has three times the bandwidth of queue 1; queue 2 is serviced three times as
often as queue 1.
This example shows how to assign the ingress bandwidths for the queues. Queue 1 is the priority queue
with 10 percent of the bandwidth allocated to it. The bandwidth ratio allocated to queues 1 and 2 is
4/(4+4). SRR services queue 1 (the priority queue) first for its configured 10 percent bandwidth. Then
SRR equally shares the remaining 90 percent of the bandwidth between queues 1 and 2 by allocating 45
percent to each queue.
weight1 weight2
Ratio of
weight1
and
weight2
controls the ratio of the frequency in which the
SRR scheduler sends packets from ingress queues 1 and 2. The range is 1 to 100.
Separate each value with a space.
Release
Modification
12.1(14)AX
This command was introduced.