11-17-2014 09:38 AM
Hi
I’m attempting to create a basic traffic shaping policy in a lab environment but I can’t seem to get it to limit the download rate?
I can successfully achieve this with policing. I am testing the speed restriction using a broadband speed testing website, policing is clearly impacting the download rate, this is not the case with shaping. Please see below the shaping and policing policies, which I am attaching in turn to the vlan1 interface outbound.
Further I have messed around with the below shaping policy and set a fixed cir as in the policing policy but it still has no impact on the download speed.
Finally class SLOW_PC under PM POLICE matches an ACL matching traffic to and from a particular IP address. The speedlimiter is matching all traffic
Policy Map speedlimiter(Shaping)
Class class-default
Average Rate Traffic Shaping
cir 1%
Policy Map POLICE
Class SLOW_PC
police cir 1048500 bc 32765
conform-action transmit
exceed-action drop
any help appreciated
11-19-2014 02:59 PM
Shaping and policing can both can be used for outbound traffic on an interface, but only policing can be used for inbound traffic. If you're trying to use shaping (which works by managing the queue) on inbound traffic (which has no manageable queue) it will have no effect. Policing is the only option in this case.
11-21-2014 03:20 AM
Hi Thanks for this, I have attached the same policy to the outbound dialer1 interface and analysed the results from a broadband upload speed test which still seem to be unaffected by the shaping policy. I would have thought that I would see some impact on the upload speed?
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