10-23-2005 07:11 PM - edited 03-03-2019 10:48 AM
We would like to limit the portion of our outbound (serial0) bandwidth used by a particular server. We want to create an access list group containing that server's IP address, and then put that access list group into a traffic shaping statement. Can anyone provide an example of the commands necessary to implement?
Thanks
Solved! Go to Solution.
10-23-2005 11:10 PM
Hello,
basically, you have a couple of options to accomplish this. Let's say your server has IP address 192.168.1.1, and you want to limit the bandwidth to 200K on your serial interface. Let's also assume that your WAN link has 512K of bandwidth available.
Your configuration would look like this:
interface Serial0
bandwidth 512
fair-queue
traffic-shape group 1 200000 250000
!
access-list 1 permit 192.168.1.1
Or you could simply rate-limit on your serial interface:
interface Serial0
rate-limit output access-group 1 200000 4000 6000 conform-action continue exceed-action drop
!
access-list 1 permit 192.168.1.1
Another alternative would be to use CBWFQ:
class-map match-all LIMIT
match access-group 1
!
policy-map SERIAL
class LIMIT
bandwidth 200
!
interface Serial0
service-policy output SERIAL
!
access-list 1 permit 192.168.1.1
Can you try any of these configs and see if that works for you ?
Regards,
GP
10-23-2005 10:15 PM
Hi
if you want to configure a kinda limiting only then would suggest to check out for CAR (rate-limit).
You can achieve the limiting in conjuntion with the ACLs with the rate-limit statement.
do refer these links for more on both CAR and shaping..
regds
10-23-2005 11:10 PM
Hello,
basically, you have a couple of options to accomplish this. Let's say your server has IP address 192.168.1.1, and you want to limit the bandwidth to 200K on your serial interface. Let's also assume that your WAN link has 512K of bandwidth available.
Your configuration would look like this:
interface Serial0
bandwidth 512
fair-queue
traffic-shape group 1 200000 250000
!
access-list 1 permit 192.168.1.1
Or you could simply rate-limit on your serial interface:
interface Serial0
rate-limit output access-group 1 200000 4000 6000 conform-action continue exceed-action drop
!
access-list 1 permit 192.168.1.1
Another alternative would be to use CBWFQ:
class-map match-all LIMIT
match access-group 1
!
policy-map SERIAL
class LIMIT
bandwidth 200
!
interface Serial0
service-policy output SERIAL
!
access-list 1 permit 192.168.1.1
Can you try any of these configs and see if that works for you ?
Regards,
GP
10-24-2005 04:40 AM
I've implemented the first option, we'll keep an eye on it during peak time and see what happens.
Thanks for your help.
10-24-2005 08:29 AM
HI
Curious to know which of the two option suggested by George above are recomended. I think rate limit will simply drops the access packets (which may be good for security related implimentaiton) where as the 2nd option of limiting the BW may delay the packets going thr' the interface. (packets may be queued upto some extent). This may make difference for application traffic which is being shaped.
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