Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

limit the throughput of an ethernet interface

What is the easyst way to configure an catalyst 3750 switch to limit traffic going to an ethernet port.

I want to adjust the throughput of an 100 mb ethernet port so that only 5 mb is going through.

I was looking at traffic policing and shaping. But i thought there was a easyer way.

grtz marc

8 REPLIES
Silver

Re: limit the throughput of an ethernet interface

You're close. It is done to the enhances QoS features available to the 3750 platform. Take a look at the egresss bandwidth limiting feature.

http://www.cisco.com/univercd/cc/td/doc/product/lan/c

at3750/12225see/scg/swqos.htm#wp1253412

HTH

Leon

* Please rate useful posts

New Member

Re: limit the throughput of an ethernet interface

Leon is pointing me in the good direction, but is there an solution also for other types of catalyst switches.

2950 for example.

grzt marc

Bronze

Re: limit the throughput of an ethernet interface

The easiest way would be to set the port to half duplex and 10 mbps .. this would net you 5mbps each way with no additional configuration requiered!

Then again I gave this answer coz I know little or nothing about QoS :(

HTH!

New Member

Re: limit the throughput of an ethernet interface

Meaby for this solution it is the answer but i also want to adjust the troughput for different speeds.

So a more acurate solution is needed.

grtz marc

Bronze

Re: limit the throughput of an ethernet interface

Indeed its just a temporary solution and a bad one at that. Just meant it light heartedly.

You might wanna try something along the following lines:

6500(config)# access-list 102 permit ip host 10.1.1.1 any

6500(config)# class-map identify-unwanted-traffic

6500(config-cmap)# match access-group 102

This series of statemnts defines that you want to identify what traffic has the blocked @ the set 5mbps level.

6500(config)# policy-map police-unwanted-traffic

6500(config-pmap)# class identify-unwanted-traffic

6500(config-pmap-c)# police flow mask src-only 5000000 5000 conform-action transmit

exceed-action drop

6500(config-pmap-c)# interface fa3/1

6500(config-if)# service-policy input police-customer-traffic

This should do the trick ! :)

This defines a policy map and a class map

New Member

Re: limit the throughput of an ethernet interface

This config works fine when you configure your service-policy as input on the interface, but what if you have the need to configure as output? I have a 3750 that says service-policy output not supported when I try to configure iton an interface.

I have a need to limit bandwidth use on an ethernet connection where I do not control the downstream router.

Any suggestions? I am running 12.1(14r)EA1 code

New Member

Re: limit the throughput of an ethernet interface

BTW, I mean a solution other than the srr-queue bandwidth command.

Thanks

Hall of Fame Super Silver

Re: limit the throughput of an ethernet interface

QOS policing is pretty straightforward:

set qos policer aggregate rate 25000 burst 250 drop,

for example will set a 25 Mbps link limit. then use:

set qos acl ip Acl trust-ipprec aggregate ip

any,

and finally:

commit qos acl all

Hope this helps. Please rte helpful posts.

158
Views
0
Helpful
8
Replies
CreatePlease to create content