09-15-2008 05:27 AM - edited 03-06-2019 01:23 AM
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
09-15-2008 06:23 AM
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
09-15-2008 06:27 AM
Thanks for the help
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