[c-nsp] Tool to Calculate Rate Limits

Smales, Robert Robert.Smales at cw.com
Tue Feb 8 09:56:42 EST 2011


If you have a unix box handy, try this:

#!/usr/bin/perl -w
#
# Ratty - a tool for generating Cisco rate-limit commands
#
print "What rate-limit do you want (megabits)? ";
$meg = <STDIN>;
$rate = $meg * 1024000;
$burst = ($rate/8) * 1.5;
$excess = $burst * 2;
print "\nrate-limit input $rate $burst $excess conform-action transmit exceed-action drop\n";
print "rate-limit output $rate $burst $excess conform-action transmit exceed-action drop\n";

Robert
Robert Smales 
Technical Engineer 
Cable&Wireless Worldwide 
www.cw.com 


-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net]On Behalf Of Righa Shake
Sent: 06 February 2011 14:25
To: cisco-nsp at puck.nether.net
Subject: [c-nsp] Tool to Calculate Rate Limits


Hi,

Anyone know of a tool that can be used to calculate rate limits on cisco
routers.

Regards,
Shake
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

This e-mail has been scanned for viruses by the Cable&Wireless Worldwide e-mail security system. For more information on a proactive 
managed e-mail secure service, visit http://www.cw.com/managed-exchange

The information contained in this e-mail is confidential and may also be subject to legal privilege. It is intended only for the recipient(s) named above. 
If you are not named above as a recipient, you must not read, copy, disclose, forward or otherwise use the information contained in this email. If you 
have received this e-mail in error, please notify the sender (whose contact details are above) immediately by reply e-mail and delete the message and any 
attachments without retaining any copies.

Cable & Wireless Worldwide plc 
Registered in England and Wales. Company Number 07029206
Registered office: Liberty House, 76 Hammersmith Road, London W14 8UD, England




More information about the cisco-nsp mailing list