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.

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