Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Rate Limiting on cisco devices

Hi all,

I am using a small network equipped with cisco 2950 switches and cisco 2611 routers. Would like to know if there is possibility to limit the rate for a port or for an Ip address at let's say, 64kbps or 128kbps.

Thks in advance for your help.

2 REPLIES
Silver

Re: Rate Limiting on cisco devices

Hi ,

Answering to your question, Policing is the way to limit traffic to a certain BW, QoS Policing is supported on almost all Switching platforms (2950, 2960, 3550, 3560, 3750, 4500, 6500 and some other). To configure policing is not 1 single command, policing is a series of commands (you need to defina a class-map, assign the class-map to a

policy-map where you configure the limit values and then apply the policy map to the interface).Now keep in mind that when doing QoS on switches the commands vary depending on the platform.If you are looking for 1 command only, then some of the switches support the feature on he "Outbound" traffic to limit throughput but only for

output direction, it is explained below.

LIMIT INPUT TRAFFIC:

As mentioned in previous email, to limit the traffic coming into a port

you must configure policing, there is NO single command, QoS Policing

requires a series of commands:

1) Define a class-map

2) Define a policy-map (here you configure the BW limitation you need

for example the 256k

3) Apply the policy-map to the interface.

LIMIT OUTPUT TRAFFIC

If you want to limit the output throughput on a port you have 2 choices.

A) Configure Policing

B) Configure a single command: <<=====================================

This example shows how to limit the bandwidth on a standard port to 80

percent:

Switch(config)# interface gigabitethernet1/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 Mbps (as this example is applied to a giga

interface).

http://www.cisco.com/en/US/products/hw/switches/ps5532/products_configuration_guide_chapter09186a008067edcc.html#wp1163881

This last command is only available for output traffic and is available for 2960, 2970, 3560 and 3750.There are no other options.

Hope it helps you

Thanks,

satish

New Member

Re: Rate Limiting on cisco devices

Thanks,

This is a good orientation. But it looks like it is no possible to allocate a bandwidth less than 1Mbps for a port on 2950 switch.

Rgds

169
Views
0
Helpful
2
Replies
CreatePlease login to create content