33-65
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-07
Chapter 33 Configuring QoS
Displaying QoS Information
This example shows a policy map with a specified bandwidth and queue size. Traffic that is not DSCP
30 or 10 is assigned a queue limit of 112 packets. Traffic with a DSCP value of 30 is assigned a
queue-limit of 48 packets, and traffic with a DSCP value of 10 is assigned a queue limit of 32 packets.
All traffic not belonging to the class traffic is classified into class-default, which is configured with
10
percent of the total available bandwidth and a large queue size of 256 packets.
Switch(config)# policy-map gold-policy
Switch(config-pmap)# class traffic
Switch(config-pmap-c)# bandwidth percent 50
Switch(config-pmap-c)# queue-limit 112
Switch(config-pmap-c)# queue-limit dscp 30 48
Switch(config-pmap-c)# queue-limit dscp 10 32
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config-pmap)# class class-default
Switch(config-pmap-c)# bandwidth percent 10
Switch(config-pmap-c)# queue-limit 256
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# service-policy output gold-policy
Switch(config-if)# exit
Displaying QoS Information
To display QoS information, use one or more of the privileged EXEC commands in Table 33-2. For
explanations about available keywords, see the command reference for this release.
QoS Statistics
There are several ways to display QoS input and output policy-map statistics.
For input policy maps, you can use the show policy-map interface [interface-id] privileged EXEC
command to display per-class per-policer conform and exceed statistics. Policer conform statistics are
the number of packets that conform to the configured policer profile; policer exceed statistics are the
number of packets that exceed the configured policer profile. The switch does not support per-class
Ta b l e 33-2 Commands for Displaying Standard QoS Information
Command Purpose
show class-map [class-map-name] Display QoS class-map information for all class maps or the
specified class map.
show policer aggregate [aggregate-policer-name] Display information about all aggregate policers or the specified
aggregate policer.
show policy-map [policy-map-name | interface
[interface-id] [input | output] [class class-name]]
Display QoS policy map information for the specified policy
map name, interface, input or output policy maps, or policy-map
class.
show cpu traffic qos Display the QoS marking values for CPU-generated traffic.
show running-config Display the configured class maps, policy maps, table maps, and
aggregate policers.
show table-map [table-map-name] Display information for all configured table maps or the
specified table map.