I have an internet link of 20 MB bandwidth.Can I configure such that a certain set of servers dont utilize more than 15 Mbps of the BW at any point of time and the remaining 5 Mbps available for a diffent set?I heard per port output ratelimiting will do the trick ...but how do i ratelimit traffic from specific source addresses?also how can it be achieved for inbound traffic?
Yes, you can use MQC to do that:
1) Define class map to classify the packet based on application that you want
match ip address 101
class-map class default
2) Define policy map to bind the policy into the class specified:
police 15000000 comform-action transmit exceed-action drop
3) Bind the policy map inbound to your outside interface facing internet.
interface fa x/x
service policy input limitbandwidth
4) Create access list to categorized the interesting traffic for class map.
Let say your Server IP are 10.0.0.1,10.0.0.2,10.0.0.0.3
access-list 101 permit ip any host 10.0.0.1
access-list 101 permit ip any host 10.0.0.2
access-list 101 permit ip any host 10.0.0.3
I think this can help.
Just my 20 cents.