Is there a way to limit bandwith on an access port? For example based on the configuration below:
switchport mode access
switch acc vlan 10
I'm familiar with rate limiting and QoS at the layer 3 level, but would like to do it at the switch port level.
Thanks in advance.
This is how i do it ...
make a policy
police cir 10000000 bc 1000000 be 1000000 conform-action transmit exceed-action drop
then on layer 2 switch port..
service-policy input 10Mbps-LIMIT
one caveat, i think you can only do in (IN) direction only
im not an expert by any means , but i spent ages trying to find a way that actually works.
try it out and let me kno.
Check 'Campus QoS Design' section in this doc.
The untrust model configuration has examples of policing.