Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
srr-queue bandwidth share
Use the srr-queue bandwidth share interface configuration command switch to assign the shared
weights and to enable bandwidth sharing on the four egress queues mapped to a port. The ratio of the
weights is the ratio of frequency in which the shaped round robin (SRR) scheduler dequeues packets
from each queue. Use the no form of this command to return to the default setting.
Syntax Description
weight1 weight2
weight3 weight4
Defaults
Weight1, weight2, weight3, and weight4 are 25 (1/4 of the bandwidth is allocated to each queue).
Command Modes
Interface configuration
Command History
Release
12.1(19)EA1
Usage Guidelines
The absolute value of each weight is meaningless, and only the ratio of parameters is used.
In shared mode, the queues share the bandwidth among them according to the configured weights. The
bandwidth is guaranteed at this level but not limited to it. For example, if a queue empties and does not
require a share of the link, the remaining queues can expand into the unused bandwidth and share it
among themselves.
If you configure a shaped queue weight to 0 by using the srr-queue bandwidth shape interface
configuration command, this queue participates in SRR shared mode. The weight specified with the
srr-queue bandwidth shape command is ignored, and the weights specified with the srr-queue
bandwidth share interface configuration command for a queue take effect.
When configuring queues for the same port for both shaping and sharing, make sure that you configure
the lowest numbered queue for shaping.
Note
The egress queue default settings are suitable for most situations. You should change them only when
you have a thorough understanding of the egress queues and if these settings do not meet your QoS
solution.
78-16405-05
srr-queue bandwidth share weight1 weight2 weight3 weight4
no srr-queue bandwidth share
The ratios of weight1, weight2, weight3, and weight4 specify the ratio of the
frequency in which the SRR scheduler dequeues packets. Separate each value
with a space. The range is 1 to 255.
Modification
This command was introduced.
srr-queue bandwidth share
Catalyst 3560 Switch Command Reference
2-613