Set Bandwidth Limit on Cisco Switch Port

Step 1
Choose a port on a switch to limit the bandwidth.

Step 2
Set the bandwidth of the port. Use bandwidth command to set the bandwidth.
I set 10000 bandwidth on the port because I have 100Mbps.

Step 3
Use srr-queue bandwidth limit command to limit the bandwidth from 10 to
90%. I set 10% bandwidth limit to achieve 10Mbps bandwidth on the port.

See image below.