2-689
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
srr-queue bandwidth shape
srr-queue bandwidth shape
Use the
srr-queue bandwidth shape
interface configuration command to assign the shaped weights and
to enable bandwidth shaping on the four egress queues mapped to a standard port. Use the
no
form of
this command to return to the default setting.
srr-queue bandwidth shape
weight1 weight2 weight3 weight4
no srr-queue bandwidth shape
Syntax Description
Defaults
Weight1 is set to 25. Weight2, weight3, and weight4 are set to 0, and these queues are in shared mode.
Command Modes
Interface configuration
Command History
Usage Guidelines
In shaped mode, the queues are guaranteed a percentage of the bandwidth, and they are rate-limited to
that amount. Shaped traffic does not use more than the allocated bandwidth even if the link is idle. Use
shaping to smooth bursty traffic or to provide a smoother output over time.
The shaped mode overrides the shared mode.
If you configure a shaped queue weight to 0 by using the
srr-queue bandwidth shape
interface
configuration command, this queue participates in 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 come into effect.
When configuring queues for the same port for both shaping and sharing, make sure that you configure
the lowest numbered queue for shaping.
This command is not supported on an enhanced-services (ES) port.
For information about the interaction between the
priority-queue
interface configuration command and
the
srr-queue bandwidth shape
interface configuration command, see the usage guidelines in the
“priority-queue” section on page 2-365
.
Note
The egress queue-set default settings are suitable for most situations. You should change them only when
you have a thorough understanding of the queues and if these settings do not meet your quality of service
(QoS) solution.
weight1 weight2
weight3 weight4
Specify the weights to control the percentage of the standard port that is
shaped. The inverse ratio (1/
weight
) controls the shaping bandwidth for this
queue. Separate each value with a space. The range is 0 to 65535.
Release
Modification
12.1(14)AX
This command was introduced.