show policy-map

Displays information for the configured policy maps including class-map policer parameters.

Syntax

show policy-map [control-plane [ map-name policyname ] ] | [ details policyname | [ {interface ethernet slot/port } | system ] [ input | output ] ]

Parameters

control-plane [ map-name policyname ]
Displays the policy map in the control plane.
details policyname
Displays the detail configuration of the policy map along with binding information.
interface ethernet slot/port
Displays the information of the policy map for the specified interface. Enter a a valid slot and port number for an Ethernet interface.
system map-name policyname
Displays the information for the globally-applied policy map.
input
Inbound - direction where the policy map is applied.
output
Outbound - direction where the policy map is applied.

Modes

Privileged EXEC mode

Usage Guidelines

Use this command without any keywords to display all policy map binding information including the control plane and all interfaces.

Output

The show policy-map command displays the following information:

Output field Description
Interface The interface for which rate limiting information is being displayed.
Direction The traffic direction for which rate limiting is applied.
police-priority-map Remarked priority map used for Policer application (802.1 p priority remarked map).
Conform The traffic in bytes that has been forwarded from this interface that is within the CIR bandwidth limits.
Exceeded The traffic that has been exceeded the bandwidth available in the CIR limits and has not exceed the EIR limits for this rate-limit policy.
Violated The traffic that has exceeded the bandwidth available in the CIR and EIR limits.

Examples

The following example displays all policy map binding information including the control plane and all interfaces.

device# show policy-map
Number of policy maps : 46
Policy-Map cp-pmap1
  Bound To: ControlPlane(in)
Policy-Map P1-DEFAULT-RL
  Bound To:None
Policy-Map P2-DEFAULT-RL-10000000000
  Bound To: Eth 1/27(in)
Policy-Map P3-DEFAULT-RL-1500000000
  Bound To:None
….

The following example displays the policy map in the control plane.

device# show policy-map control-plane

Ingress Direction :
Policy-Map cp-pmap1 
  Class cm1
    matches 480661 packets 61524608 bytes
    Police cir 22222
     Stats:
       Operational cir:22000 cbs:3332 eir:0 ebs:0
       Conform Byte:0 Exceed Byte:0 Violate Byte:0

The following example displays the interface-specific policy-map information.

device# show policy-map interface ethernet 1/1 in

Ingress Direction :
Policy-Map p2
Class c2
matches 7867567 packets 1007048576 bytes           
Police cir 1000000
       Stats:
         Operational cir:1010000 cbs:149999 eir:0 ebs:0
         Conform Byte:1180928 Exceed Byte:0 Violate Byte:1005867648
The following example displays the system-specific policy-map information.
device# # show policy-map system map-name pm1

Ingress Direction :
Policy-Map pm1
Class cm1
matches 480661 packets 61524608 bytes
Police cir 100000
Stats:
 Operational cir:109000 cbs:14999 eir:0 ebs:0
  Conform Byte:265088 Exceed Byte:0 Violate Byte:0

This example shows the configuration of the policy map that is attached to a control plane interface.
device# show policy-map control-plane

Ingress Direction :
 Policy-Map map-ssh
    Class class-ssh-2
      matches 91785 packets 11748480 bytes
      Police cir 100000
        Stats:
          Operational cir:102000 cbs:15000 eir:0 ebs:0
          Conform Byte:11748480 Exceed Byte:0 Violate Byte:0

    Class class-ssh-3
      matches 91764 packets 11745792 bytes
      Police cir 1000000
        Stats:
          Operational cir:997000 cbs:150000 eir:0 ebs:0
          Conform Byte:11745792 Exceed Byte:0 Violate Byte:0