Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Rate limit ASR9k

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

  • WAN Routing and Switching
1 ACCEPTED SOLUTION

Accepted Solutions

Please try: policy-map BW

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. 

6 REPLIES

Please try: policy-map BW

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. 

New Member

Hi, It worked, I would like

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.

Honestly, I do not know...Did

Honestly, I do not know...Did you have any non-ipv4 traffic?

New Member

Yes, but not a lot.

Yes, but not a lot.

New Member

Is there any advice on

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

 

The formula for normal burst:

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

121
Views
0
Helpful
6
Replies