Use the
show
policy-map
interface command to verify that the Class-Based Policing feature is configured on your interface. If the feature is configured on
your interface, the
show
policy-map
interface command output displays policing statistics:
Router# show policy-map interface
FastEthernet1/1/1
service-policy output: x
class-map: a (match-all)
0 packets, 0 bytes
5 minute rate 0 bps
match: ip precedence 0
police:
1000000 bps, 10000 limit, 10000 extended limit
conformed 0 packets, 0 bytes; action: transmit
exceeded 0 packets, 0 bytes; action: drop
conformed 0 bps, exceed 0 bps, violate 0 bps
Use the
show policy-map interface
type
nummber command to view the traffic statistics for policies applied to that specific interface:
Router# show policy-map interface gigabitethernet 0/0/1
GigabitEthernet0/0/1
Service-policy input: TUNNEL_MARKING
Class-map: MATCH_PREC (match-any)
72417 packets, 25418367 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: ip precedence 0
QoS Set
ip precedence tunnel 3
Marker statistics: Disabled
Class-map: MATCH_DSCP (match-any)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: ip dscp default (0)
QoS Set
ip dscp tunnel 3
Marker statistics: Disabled
Class-map: class-default (match-any)
346462 packets, 28014400 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: any
Service-policy output: POLICE-SETTING
Class-map: MATCH_PREC (match-any)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: ip precedence 0
police:
cir 8000 bps, bc 1000 bytes, be 1000 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
set-qos-transmit 1
violated 0 packets, 0 bytes; actions:
drop
conformed 0000 bps, exceed 0000 bps, violate 0000 bps
Class-map: class-default (match-any)
31 packets, 2019 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: any
Use the show policy-map interface service instance command to view the traffic statistics for policy applied to the specific service instance in that specific interface:
Router# show policy-map interface gig0/0/1 service instance 10
GigabitEthernet0/0/1: EFP 10
Service-policy input: ac1
Class-map: ac1 (match-all)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: access-group 1
police:
cir 50000000 bps, bc 1562500 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0000 bps, exceeded 0000 bps
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: any