29-69
Catalyst 2960 Switch Software Configuration Guide
78-16881-01
Chapter 29 Configuring QoS
Displaying Standard QoS Information
Beginning in privileged EXEC mode, follow these steps to limit the bandwidth on an egress port. 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 a port 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.
Displaying Standard QoS Information
To display standard QoS information, use one or more of the privileged EXEC commands in
Table 29-15:
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Specify the port 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.
Table 29-15 Commands for Displaying Standard QoS Information
Command Purpose
show class-map [class-map-name] Display QoS class maps, which define the match criteria to
classify traffic.
show mls qos Display global QoS configuration information.
show mls qos aggregate-policer
[aggregate-policer-name]
Display the aggregate policer configuration.
show mls qos input-queue Display QoS settings for the ingress queues.
show mls qos interface [interface-id] [buffers | policers |
queueing | statistics]
Display QoS information at the port level, including the buffer
allocation, which ports have configured policers, the queueing
strategy, and the ingress and egress statistics.
show mls qos maps [cos-dscp | cos-input-q |
cos-output-q | dscp-cos | dscp-input-q | dscp-mutation
dscp-mutation-name | dscp-output-q | ip-prec-dscp |
policed-dscp]
Display QoS mapping information.