Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rate-Limit All to 2MB's? 1

Status
Not open for further replies.

MPDano

MIS
Apr 2, 2008
5
US
Hi All,

I have a Cisco 2821 and want to limit the Outbound rate to around 2Megs. I currently have a bonded T1 on our Multilinkl. Can you provide a command to make this happen? Will this bring the link down?

Thanks in advance,

Leo

 
Ok, I see they used:

rate-limit input 1024000 25000 25000 conform-action transmit exceed-action
drop

Can I just use:

rate-limit input 2048000

Do I need to add 25000 25000 conform-action transmit exceed-action ?

Which is trhe open question on the link.
 
rate-limit output 2048000 25000 25000 conform-action transmit exceed-action drop
You need output, not input, for what you want to do. I would make policy maps and an acl for this as well---just regular rate-limiting does not work all the time...

Burt
 
In a lab I setup the following to rate limit a customer so they can only have 1mbps of a 100mbps wan connection.

class-map match-any CM-UCL
match access-group name ACL-UCL

ip access-list extended ACL-UCL
permit ip any 172.27.0.0 0.0.0.255

policy-map PM-MO_WAN_QUEUING
class CM-UCL
police cir 1024000 bc 1544000
conform-action transmit
exceed-action drop
violate-action drop

interface FastEthernet0/0
description outbound from remote site
service-policy output PM-MO_WAN_QUEUING
!
interface FastEthernet0/1
description inbound from local
service-policy input PM-MO_ACCESS_MARKING


I have more to the class and policy maps for other applications.
 
Burt,

What exactly is the 25000 part of it? Since the example I quoted was for 1MB, should I double this to 50000?

Leo
 
Also, if I make this change on the Router, will it bring the link down?
 
The first number is bits per second, the second number is normal burst, the third is max burst. It will not bring the link down---this is one reason traffic shaping is better than just straight rate-limiting---it's called CAR/DCAR. Here's a Cisco link...


I would follow lerdalt's model.

Burt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top