cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
53281
Views
9
Helpful
1
Replies

how to limit download and upload bandwidth on cisco switch port

suse_x001
Level 1
Level 1

Let say cisco switch 3850 , how can I limit bandwidth per port , example

port 1/0/23

download 4MB

Upload 5MB

1 Reply 1

Limiting the Bandwidth on an Egress Interface

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:

Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# srr-queue bandwidth limit 80
 

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.

Review Cisco Networking for a $25 gift card