cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
475
Views
0
Helpful
3
Replies

limiting bandwidth on cisco switches

khiladi0003
Level 1
Level 1

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

3 Replies 3

Julio E. Moisa
VIP Alumni
VIP Alumni

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

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Julio E. Moisa
VIP Alumni
VIP Alumni

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

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

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



Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul