1-177
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
show policy-map
show policy-map
To display the configuration of all classes for a specified service policy map or of all classes for all
existing policy maps, use the
show policy-map
command in user EXEC or privileged EXEC mode.
show policy-map
[
policy-map
]
Syntax Description
Command Default
All existing policy map configurations are displayed.
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Usage Guidelines
The
show policy-map
command displays the configuration of a policy map created using the
policy-map
command. You can use the
show policy-map
command to display all class configurations
comprising any existing service policy map, whether or not that policy map has been attached to an
interface. The command displays:
•
ECN marking information only if ECN is enabled on the interface.
•
Bandwidth-remaining ratio configuration and statistical information, if configured and used to
determine the amount of unused (excess) bandwidth to allocate to a class queue during periods of
congestion.
Examples
This section provides sample output from typical
show policy-map
commands. Depending upon the
interface or platform in use and the options enabled (for example, Weighted Fair Queueing [WFQ]), the
output you see may vary slightly.
Traffic Policing: Example
The following is sample output from the
show policy-map
command. This sample output displays the
contents of a policy map called “policy1.” In policy 1, traffic policing on the basis of a committed
information rate (CIR) of 20 percent has been configured, and the bc and be have been specified in
milliseconds. As part of the traffic policing configuration, optional conform, exceed, and violate actions
have been specified.
Router#
show policy-map policy1
Policy Map policy1
Class class1
police cir percent 20 bc 300 ms pir percent 40 be 400 ms
policy-map
(Optional) Name of the service policy map whose complete configuration is
to be displayed. The name can be a maximum of 40 characters.
Release
Modification
15.1(2)SNG
Support for this command was introduced on the Cisco ASR 901 router.