10-08-2012 10:05 AM - edited 03-07-2019 09:20 AM
Hi,
I am running IOS c7200-p-mz.123-20.bin and want to hard set bandwidth on an interface to 10 MB. Is it possible to do to this using the rate-limit command? If so, how? If not how can I achieve this?
rate-limit input 10000000 X X conform-action transmit exceed-action drop
rate-limit output 10000000 X X conform-action transmit exceed-action drop
What would the "X" values be if it is possible to use the above command?
Thanks
10-08-2012 10:53 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Yes, rate-limit (or a policier) could be one way to accomplish limiting bandwidth to a certain value, but without adjusting
For burst sizes, perhaps about half your bandwidth delay product.
10-08-2012 07:00 PM
hello,
your xxx represets burst traffic parameters.
If you limit traffic is to 10 Mbps, with a normal burst size of 1,500,000 bytes. Traffic that does not conform is dropped. You can create burst how much you want. Its just if user reach 10 Mb limit then he/she can use burst traffic in the congestion. If you do not want any bust to be configured then use normal exceed-action drop.
See the following command in the example:
rate-limit input 10000000 1500000 exceed-action drop
http://www.cisco.com/en/US/docs/ios/12_2/qos/command/reference/qrfcmd8.html#wp1037428
there is another way to do rate limit by using plicy map.
ip access-list extended ACL_SLAP
permit ip any any
class-map match-all CLASS_SLAP
match access-group name ACL_SLAP
policy-map POLICY_SLAP
class CLASS_SLAP
police 10000000 100000 exceed-action drop
interface GigabitEthernet0/2
service-policy input POLICY_SLAP
hope this will help.
thanks
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