Thursday, June 20, 2019

Cisco 9300. Setting bandwidth restrictions per vlan on trunk?

I need to limit varying speeds to different VLAN's which all exist on the same trunk interface on a Cisco 9300 switch.

I though I could just do a policy-map with a shape average and apply it to each vlan but although it doesn't come up with an error when doing this it doesn't take the config. It just doesn't apply it to the vlan interface.

Example:

policy-map 40Mbps
class class-default
shape average 40000000

Interface vlan 10
ip address 10.0.0.1 255.255.255.0
service-policy output 40Mbps

This is how I would usually control the bandwidth allocation per port but this obviously doesn't work per vlan.

Can anyone offer advise as to what the preffered method would be to control bandwidth on a per vlan basis if the trunk is carrying multiple vlans with varying bandwidths:

vlan 10 - 40Mb
vlan 20 - 80Mb etc

Thanks



No comments:

Post a Comment