06-22-2016 03:45 AM - edited 03-08-2019 06:18 AM
Hi All,
I need to limit the bandwidth on a switchport to 1 MB, ,for the same i have applied below commands
speed 10
srr-queue bandwidth limit 90
Also, i created policy map and assigned it to switchport as below.
policy map 1MB
class link_1MB
police 1000000 8000 exceed-action drop
and applied this to interface
int gi0/3
service-policy input 1MB
But still when i see my interface it is exceeding bandwidth which in result causing congestion in the network. Pls see attached image
Am i doing anything wrong here ??
Please help to resolve.
06-22-2016 04:30 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 wha2tsoever (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
Try srr-queue bandwidth limit 10, for output.
For input, what's your class map criteria? What does your policy stats show? It's possible, interface stats show rate entering interface before the policer can drop them.
06-22-2016 05:04 AM
06-23-2016 01:30 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 wha2tsoever (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
Hmm, your OP has service-policy input 1MB, and your policy_map.jpg has policy_1MB. I.e. the two policy names don't agree.
06-23-2016 01:33 AM
The image which i attached is the applied one on the production switch.
06-23-2016 06:19 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 wha2tsoever (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
Ok, your attachment shows no hits on policy.
What's the device and IOS version?
What's the ACL?
Please post the actual interface config, all it's supporting config, interface stats, and policy map stats.
06-23-2016 06:53 AM
06-28-2016 05:21 AM
Any update why police is not working ??
Its still going beyond restricted bandwidth and effecting overall network performance.
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