I have a Cisco 3750 switch that I need to provide different bandwidth to each VLAN.
I am using policy maps on each VLAN and using the vlan-based command on the interfaces in question.
I have two questions.
1. I would prefer not to have to nominate each interface but I cannot see a way of attaching policing to the root policy-map.
2. When I apply the QoS policy to the VLAN it does not appear to rate limit the traffic (i.e. traffic seems to pass thru at wire speed)
I have attached a patial config below.
class-map match-all cm-int-test
match input-interface GigabitEthernet1/0/1
police 256000 48000 exceed-action drop
switchport access vlan 10
switchport mode access
mls qos vlan-based
no mdix auto
ip address 10.1.49.1 255.255.255.0
service-policy input vlan-test