show policy-map
show policy-map
Use the show policy-map user EXEC command to display quality of service (QoS) policy maps, which
define classification criteria for incoming traffic. Policy maps can include policers that specify the
bandwidth limitations and the action to take if the limits are exceeded.
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
policy-map-name
class class-name
| begin
| exclude
| include
expression
Command Modes
User EXEC
Command History
Release
12.1(6)EA2
Usage Guidelines
Use the show policy-map command without keywords to display all policy maps configured on the
switch.
Note
In a policy map, the class named class-default is not supported. The switch does not filter traffic based
on the policy map defined by the class class-default policy-map configuration command.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show policy-map command:
Switch> show policy-map
Policy Map bumbum
Policy Map wizard_policy3
class wizard_1-1-1-2
set ip dscp 34
Catalyst 2950 Desktop Switch Command Reference
2-198
show policy-map [policy-map-name [class class-name]] [ | {begin | exclude | include} expression]
(Optional) Display the specified policy-map name.
(Optional) Display QoS policy actions for a individual class.
(Optional) Display begins with the line that matches the expression.
(Optional) Display excludes lines that match the expression.
(Optional) Display includes lines that match the specified expression.
Expression in the output to use as a reference point.
Modification
This command was first introduced.
Description: this is a description.
Chapter 2 Cisco IOS Commands
78-11381-05