cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
395
Views
5
Helpful
2
Replies

Rate limiting

reich.marshal
Level 1
Level 1

Hi,

I've got two routers connected by ethernet to each other.

Whereas I want to simulate a 1Mbps link between these two I have put a 1meg rate limit as input & output in connecting interfaces.

rate-limit input 1000000 ....

rate-limit output 1000000 ....

The problem is when I tranfer a file between these two (I've a web server behind one) , the downloader can't go faster than 35KB!!!!

I expected at least 100KB without the burst which would also allow more!!!

Is there anything wrong with my idea to simulate a 1mbps link between these two routers.

thx

2 Replies 2

mheusing
Cisco Employee
Cisco Employee

Hi,

The problem you create is because of the policer dropping packets, which does affect TCP throughput. TCP throughput is roughly window size/round trip time and window size is halfed, if a drop is experienced.

Change your configs to use a shaper, which is much closer to a 1Mb interface, as it will queue traffic like every normal interface does as well.

Example:

policy-map Shape1Mb

class class-default

shape average 1000000

interface Ethernet0

service-policy output Shape1Mb

Apply this policy on both routers outbound and test again. Should be much better.

Hope this helps! please use the rating system.

Regards, Martin

Martin, just wanted to thank you for this info. Very straight-forward and useful. Just setting up my remote sites with MPLS, and have applied the above config to the interfaces facing the cloud, modifying of course for our speeds here. I will be adding voip once this is setup. Any tips regarding voice. Would the qos be done on the switch providing poe, and not on the switch connecting to the mpls cloud. Voice would be highest priority. Looking forward to your response.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: