cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2521
Views
5
Helpful
2
Replies

IOS-XR Service policy on BVI Interface is not working

javed7
Level 1
Level 1

Dear's,

i have applied the following policy map but it's not working, can some one have a look, am i doing any thing wrong ?

I am going to limit the traffic on 1.3 gig, but i can see the traffic flow is more then 1.3 and not dropping the exceed traffic.

 

 

RP/0/RSP0/CPU0:R01#sh run policy-map 1.3G
policy-map 1.3G
class ALL-TRAFFIC
police rate 1356800000 bps burst 42400000 bytes peak-burst 42400000 bytes
conform-action transmit
exceed-action drop
!
!
class class-default
!
end-policy-map
!

RP/0/RSP0/CPU0:R01#sh run int bvI 111
interface BVI111

service-policy input 1.3G
service-policy output 1.3G
ipv4 address 10.10.10.1 255.255.255.252
load-interval 30
!

RP/0/RSP0/CPU0:R01#sh policy-map interface bvI 111 output

BVI111 output: 1.3G

Class ALL-TRAFFIC
Classification statistics (packets/bytes) (rate - kbps)
Matched : 294138655308/278840952419738 1522380
Transmitted : N/A
Total Dropped : 0/0 0
Policing statistics (packets/bytes) (rate - kbps)
Policed(conform) : 294138655308/278840952419738 1522380
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

2 Replies 2

3Dg4RIP
Level 1
Level 1

Hi, I did for 15 MB, see below the example of Policy used:

 

policy-map 15MB-OUT
 class class-default
  shape average 15360000   
policy-map 15MB-IN
 class class-default
  police cir 15360000 conform-action transmit  exceed-action drop

Regards

javed7
Level 1
Level 1

thanks

i had received the answer from expert.

on BVI interface it will not work, while on physical interface it is working fine.

you are correct to use class default instead of defining bc and be, System it self will calculate on proper way. 

Review Cisco Networking for a $25 gift card