08-23-2017 10:12 AM - edited 03-08-2019 11:48 AM
Hello
I am new at networking and recently at an interview I was asked how to limit bandwidth (let's say to 1 Mbps) on Cisco 3560 and 3750 switches on a port level basis (for each PC that is connected to a port).
What are the different ways and also the easiest way to do it.
Thanks
08-23-2017 10:20 AM - edited 08-23-2017 10:21 AM
Hi
Basically you can use MQC (Modular Quality of Service Command) to match certain type of traffic or networks and apply a policy, now in order to limit bandwidth you could Police or Shape, a different between them is Shape can be applied to Outbound direction only. These methods are pointing to the same target but they work on different ways.
Please check this link:
http://packetlife.net/blog/2008/jul/30/policing-versus-shaping/
Hope it is useful
:-)
08-23-2017 10:21 AM
Hi
Basically you can use MQC (Modular Quality of Service Command) to match certain type of traffic or networks and apply a policy, now in order to limit bandwidth you could Police or Shape, a different between them is Shape can be applied to Outbound direction only. These methods are pointing to the same target but they work on different ways.
Please check this link:
http://packetlife.net/blog/2008/jul/30/policing-versus-shaping/
Hope it is useful
:-)
08-23-2017 02:40 PM
Hello
SRR-queue bandwidth port port basis can acomplish this, which can be either in a Share or shape mode or both.
Example:
int x/x
srr-queue bandwidth share 1 50 20 29 - Share the bw on a % of the value specified
srr-queue bandwidth shape 20 0 0 0 - Overrides share mode, so in this case queue 1(default queue)in share mode is render ineffective so this can be set to a very low value , but the remaining 3 queues would be used on a shared based regarding their % value.
So the above reads
Shape 20 queue 1 = 1/20th of the interface ( 100mb link that's 5mb)
Shared queue 2/3/4 = 95 mb remaining ratio: 5:2:3
res
Paul
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