Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k

Bandwidth Limit per VLAN

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
Bronze

Re: Bandwidth Limit per VLAN

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

Re: Bandwidth Limit per VLAN

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
Bronze

Re: Bandwidth Limit per VLAN

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

1200
Views
0
Helpful
3
Replies
CreatePlease to create content