cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2300
Views
5
Helpful
3
Replies

Bandwidth Limit per VLAN

stephen.stack
Level 4
Level 4

Hi Experts,

I have been given the task o designing a network for a managed/serviced office environment. We will have a 5Mb dedicated link or so from our local ISP. IP addresses will not be an issue for me. However, the entire office will service 30 or so clients with about 1 to 5 users per client.

I will be using VLANs to seperate client traffic. I have been asked to provide a solution to manage bandwidth per client.

So, i suppose i would like to be able to allow one client a dedicated 1MB etc... and the rest share bandwidth.

Does anyone have ideas on how i can achieve bandwitdh shaping per vlan?

Thanks and regards

stephen

========================== http://www.rconfig.com A free, open source network device configuration management tool, customizable to your needs! - Always vote on an answer if you found it helpful
3 Replies 3

bjornarsb
Level 4
Level 4

Hi,

QOS with cos values at layer 2,

and mapping to layer 3 creating a service policy.

If you just want to shape pr vlan it can be done at your layer 3 device.

BR,

Bjornarsb

Hi Bjornarsb,

Thanks for the info. I think i know what you mean, But would you have any specific examples. Any more ideas welcome too :)

Regards

Stephen

========================== http://www.rconfig.com A free, open source network device configuration management tool, customizable to your needs! - Always vote on an answer if you found it helpful

Hi,

OK, here is maybe a start:

Distribution Switch connected to the Access-layer:

class-map videoclass

match cos 7

policy-map videopolicy

class videoclass

set ip dscp 56

police 5000000 2000000 exceed-action drop

interface gigabitethernet0/1

service-policy input videopolicy

Default DSCP-to-CoS map has DSCP values 56 to 63 mapped to CoS value 7,

show class-map videoclass

show policy-map videopolicy

show mls qos maps [cos-dscp | dscp-cos]

Router:

Router(config)# class-map match-all gold-data

Router(config-cmap)# match ip dscp 40

Router(config-cmap)# exit

Router(config)# class-map match-all bronze-data

Router(config-cmap)# match ip dscp 8

Router(config-cmap)# exit

Router(config)# policy-map policy1

Router(config-pmap)# class gold-data

Router(config-pmap-c)# shape average 2000000

Router(config-pmap-c)# exit

Router(config-pmap)# class bronze-data

Router(config-pmap-c)# shape average 5000000

Router(config-pmap)# class class-default

Router(config-pmap-c)# shape average 3000000

Router(config-pmap-c)# exit

Router(config-pmap)# exit

Router(config)#

Router(config)# interface WAN

Router(config-if)# service-policy output policy1

Router(config-if)# exit

HTH, do not hesitate to ask if you need more help.

For more explenations , please have a look at this example:

http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/12.2/20ewa/configuration/guide/qos.html#wp1223587

BR,

Bjornarsb

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: