Rate-Limit Help

Unanswered Question
Sep 15th, 2008
User Badges:

I am trying to set up rate limit for a single IP address on a 2811. The IP address is 10.0.26.32 and I want to limit its bandwidth to 256000 bits. Can someone please help me out with the commands? I currently do not have any ACLs set up on the router

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
singhsaju Mon, 09/15/2008 - 06:23
User Badges:
  • Silver, 250 points or more

Hi Michael,


1. You can first define the access-list for the traffic either sorced or destined to 10.0.26.32 depending on on which interface you will rate-limit the traffic.


If it is sourced from it then

access-list 160 permit ip host 10.0.26.32 any


If it is destination then

access-list 160 permit ip any host 10.0.26.32



2. define a class-map:

class-map access-match

match access-group 160



3. policy-map police-setting

class access-match

police 256000 1000 1000 conform-action transmit exceed-action drop


4. Apply to the interface (depends on which direction you want to apply it )

service-policy output police-setting

Or

service-policy input police-setting



5. You can see if it is configured properly and its working by "show policy-map interface

"


HTH

Saju

Pls rate helpful posts


Actions

This Discussion