Specifications
27-64
Catalyst 2970 Switch Software Configuration Guide
78-15462-03
Chapter 27 Configuring QoS
Configuring Standard QoS
Limiting the Bandwidth on an Egress Interface
You can limit the bandwidth on an egress interface. For example, if a customer pays only for a small
percentage of a high-speed link, you can limit the bandwidth to that amount.
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.
Beginning in privileged EXEC mode, follow these steps to limit the bandwidth on an egress interface.
This procedure is optional.
To return to the default setting, use the no srr-queue bandwidth limit interface configuration command.
This example shows how to limit the bandwidth on Gigabit Ethernet interface 0/1 to 80 percent:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# srr-queue bandwidth limit 80
When you configure this command to 80 percent, the port is idle 20 percent of the time. The line rate
drops to 80 percent of the connected speed, which is 800 Mbps. These values are not exact because the
hardware adjusts the line rate in increments of six.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Specify the interface to be rate limited, and enter interface configuration
mode.
Step 3
srr-queue bandwidth limit weight1 Specify the percentage of the port speed to which the port should be
limited. The range is 10 to 90.
By default, the port is not rate limited and is set to 100 percent.
Step 4
end Return to privileged EXEC mode.
Step 5
show mls qos interface [interface-id]
queueing
Verify your entries.
Step 6
copy running-config startup-config (Optional) Save your entries in the configuration file.