01-03-2016 12:02 AM - edited 03-08-2019 03:16 AM
Let say cisco switch 3850 , how can I limit bandwidth per port , example
port 1/0/23
download 4MB
Upload 5MB
01-03-2016 12:35 AM
You can limit the bandwidth on an egress port. For example, if a customer pays only for a small percentage of a high-speed link, you can limit the bandwidth to that amount.
Note The egress queue default settings are suitable for most situations. You should change them only when you have a thorough understanding of the egress queues and if these settings do not meet your QoS solution.
Beginning in privileged EXEC mode, follow these steps to limit the bandwidth on an egress port. This procedure is optional.
Command
|
Purpose
|
|
---|---|---|
Step 1 |
configure terminal |
Enters the global configuration mode. |
Step 2 |
interface interface-id |
Specifies the port to be rate limited, and enter interface configuration mode. |
Step 3 |
srr-queue bandwidth limit weight1 |
Specifies the percentage of the port speed to which the port should be limited. The range is 10 to 90. By default, the port is not rate limited and is set to 100 percent. |
Step 4 |
end |
Returns to privileged EXEC mode. |
Step 5 |
show mls qos interface [ interface-id ]queueing |
Verifies your entries. |
Step 6 |
copy running-config startup-config |
(Optional) Saves your entries in the configuration file. |
To return to the default setting, use the no srr-queue bandwidth limit interface configuration command.
This example shows how to limit the bandwidth on a port to 80 percent:
When you configure this command to 80 percent, the port is idle 20 percent of the time. The line rate drops to 80 percent of the connected speed, which is 800 Mb/s. These values are not exact because the hardware adjusts the line rate in increments of six.
Go through below docs for configuration assistance and explanation on the same.
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/15-0_2_se/configuration/guide/scg2960/swqos.html#pgfId-1253412
https://learningnetwork.cisco.com/thread/44129
http://www.techrepublic.com/blog/data-center/limit-bandwidth-on-a-cisco-catalyst-switch-port/
Regards,
-Do rate if it helps.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide