10-10-2018 12:04 AM
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
10-25-2018 10:12 AM
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
10-25-2018 11:06 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide