Cisco IOS XR policy statistics:
saddayz
Member Posts: 29 ■□□□□□□□□□
Hello, My goal is to see if the interface gets more than 2gbps of traffic, just to see if's true.
So i created a policy map with acl that mathces 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 advice,
1) Do my configuration is bad ?
2) is there any statistics that should be enabled additionaly ?
3) maybe there're any other way to see burst/peak rates on interfaces - using IOS XR.
Thanks.
So i created a policy map with acl that mathces 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 advice,
1) Do my configuration is bad ?
2) is there any statistics that should be enabled additionaly ?
3) maybe there're any other way to see burst/peak rates on interfaces - using IOS XR.
Thanks.