My goal is to see if the interface gets more than 2gbps of traffic, just to see if it's true.
So I created a policy map with ACL that matches all, and all actions - violate, conform are set to transmit.
It looks like this:
ipv4 access-list test_for_isp
10 permit ipv4 any any
class-map match-any class_test_isp
match access-group ipv4 test_for_isp
end-class-map
!
policy-map traffic_test
class class_test_isp
police rate 1900 mbps
conform-action transmit
exceed-action transmit
violate-action transmit
!
!
class class-default
!
end-policy-map
but i dont see any counters:
RP/0/RSP0/CPU0:ASR02#show policy-map interface all
Mon Sep 18 13:38:16.435 Summer
node0_0_CPU0:
TenGigE0/0/2/3 input: traffic_test
Class class_test_simcentric
Classification statistics (packets/bytes) (rate - kbps)
Matched : 0/0 0
Transmitted : N/A
Total Dropped : 0/0 0
Policing statistics (packets/bytes) (rate - kbps)
Policed(conform) : 0/0 0
Policed(exceed) : 0/0 0
Policed(violate) : 0/0 0
Policed and dropped : 0/0
Class class-default
Classification statistics (packets/bytes) (rate - kbps)
Matched : 0/0 0
Transmitted : N/A
Total Dropped : N/A
So, please advise,
- Is my configuration bad?
- Are there any additional statistics that should be enabled?
- Maybe there're any other ways to see burst/peak rates on interfaces - using IOS XR.