04-28-2014 01:13 PM - edited 03-04-2019 10:52 PM
Hi,
I am trying to put a rate limit on a interface where I make the connection with my ISP, but I see it doesn't work, I always cosume more than 480 Mbps. Can you tell me what I am doing wrong?
policy-map BW_Internet
class ALL_TRAFFIC
police rate 480 mbps
conform-action transmit
exceed-action drop
class-map match-any ALL_TRAFFIC
match access-group ipv4 ALL_TRAFFIC
end-class-map
ipv4 access-list ALL_TRAFFIC
10 permit ipv4 any any
interface Bundle-Ether4.3760
description --Conexion_Internet_BGP--
mtu 1700
service-policy input BW_Internet
service-policy output BW_Internet
vrf INTERNET
ipv4 address 190.131.xx.xx 255.255.255.252
ipv6 address 2800:b70:800:100:x:x:x:x/127
ipv6 enable
encapsulation dot1q 3760
I am doing on a ASR9600, ios XR 4.1.0
Solved! Go to Solution.
04-28-2014 01:57 PM
Please try:
policy-map BW_Internet
class class-default
police rate 480 mbps
conform-action transmit
exceed-action drop
and tell us the results. in addition how above 480Mbps can you achieve/ becase there is aways a small amount of burst data.
04-28-2014 01:57 PM
Please try:
policy-map BW_Internet
class class-default
police rate 480 mbps
conform-action transmit
exceed-action drop
and tell us the results. in addition how above 480Mbps can you achieve/ becase there is aways a small amount of burst data.
04-29-2014 08:13 AM
Hi,
It worked, I would like to know, why it didn't work before. Before it up to 520 and stayed there, it was working the rate limit.
04-29-2014 11:45 PM
Honestly, I do not know...Did you have any non-ipv4 traffic?
06-24-2014 12:37 PM
Yes, but not a lot.
05-05-2014 11:10 PM
Is there any advice on policer configuration?
I see the answer has a default burst calculation. What is the recommended burst config method/value calculation?
I'm conflicted over whether to use BC, BE or PIR? The guidelines and doco don't give clear explanations of each. I would normally give a 10% burst on another vendor device. I find without a little burst policers can be too aggressive on TCP flows.
Cheers
Mike
05-06-2014 12:17 AM
The formula for normal burst: (RATE-SPEED/8 / 20)
The formula for extended burst: NormalBurst + (RATE-SPEED/8 * 0.150)
e.g. for 20Mbps, your rate limit would be:
rate-limit out 20000000 125000 500000 conform-action transmit exceed-action drop
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