Limit bandwidth on specific switchport

I want to limit bandwidth on a specific switchport on the router. How should I go about this? It can also be limited by vlan as I created a special vlan just for this device. Do I use QoS? But I only want it to affect the physical switchport or vlan assigned to that switchport.

You will likely have to do this by Interface (including VLANs), or IP Subnet, so what you desire is feasible.

Not to rate limit, that just prioritizes.

See this thread:

and this post:

Hope this helps.