Displays information for the configured policy maps including class-map policer parameters.
Privileged EXEC mode
Use this command without any keywords to display all policy map binding information including the control plane and all interfaces.
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
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
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:0To display the configured policy-map details at ingress direction.
SLX# show policy-map interface Ve 100 in Ingress Direction : Policy-Map policy-map_1 Class class-map_1 matches 0 packets 0 bytes Police cir 1111111 eir 1111111 Stats: Operational cir:1112000 cbs:166665 eir:1112000 ebs:166665 Conform Byte:0 Exceed Byte:0 Violate Byte:0 SLX#To display the configured policy-map details at egress direction.
SLX# show policy-map interface Ve 100 out Egress Direction : Policy-Map policy-map_2 Class class-map_2 matches 0 packets 0 bytes Police cir 1111111 eir 1111111 Stats: Operational cir:1112000 cbs:166665 eir:1112000 ebs:166665 Conform Byte:0 Exceed Byte:0 Violate Byte:0 SLX#To display the configured policy-map details for both direction.
SLX# show policy-map interface Ve 100 Ingress Direction Policy-Map policy-map_1 Class class-map_1 matches 0 packets 0 bytes Police cir 1111111 eir 1111111 Stats: Operational cir:1112000 cbs:166665 eir:1112000 ebs:166665 Conform Byte:0 Exceed Byte:0 Violate Byte:0 Egress Direction Policy-Map policy-map_1 Class class-map_1 matches 0 packets 0 bytes Police cir 1111111 eir 1111111 Stats: Operational cir:1112000 cbs:166665 eir:1112000 ebs:166665 Conform Byte:0 Exceed Byte:0 Violate Byte:0 SLX#
To clear the policy-map counters at ingress direction: SLX# clear policy-map-counters interface Ve 100 in To clear the policy-map counters at egress direction: SLX# clear policy-map-counters interface Ve 100 out To clear the policy-map counters for both direction: SLX# clear policy-map-counters interface Ve 100