Re: CAR rate-limit

From: Joe Chang (changjoe@earthlink.net)
Date: Mon Apr 28 2003 - 00:44:14 GMT-3


If the IOS is forcing the Bc to be at minimum the MTU then at least one
packet will be accepted per time interval. If the Bc could be set less than
the MTU, there is the possiblity that no packets will be sent to the CPU
buffers in an interval.

----- Original Message -----
From: "Ouellette, Tim" <tim.ouellette@eds.com>
To: <ccielab@groupstudy.com>
Sent: Saturday, April 26, 2003 10:29 PM
Subject: RE: CAR rate-limit

> Hey all, going over the CAR configs and i'm having some trouble
> understanding the values. I'm looking at the following document..
>
>
http://www.cisco.com/en/US/customer/products/sw/iosswrel/ps1831/products_com
> mand_reference_chapter09186a0080080786.html#1037428
>
> Below is the command that I've entered
>
> rate-limit input access-group 101 20000000 24000 32000 conform-action
> set-prec-transmit 5 exceed-action set-prec-transmit 0
>
> and this is the output from the box
>
> Router_2#sh int rate-limit
> Ethernet0
> Input
> matches: access-group 101
> params: 20000000 bps, 24000 limit, 32000 extended limit
> conformed 3 packets, 246 bytes; action: set-prec-transmit 5
> exceeded 0 packets, 0 bytes; action: set-prec-transmit 0
> last packet: 8992ms ago, current burst: 0 bytes
> last cleared 00:00:31 ago, conformed 0 bps, exceeded 0 bps
>
> What i'm wondering is this. The maximum rate inbound is 20mbit, but how
is
> the 24000 limit (24000 burst-normal) calculated?
>
> I'm having trouble understanding the second + third value. Let's say I
> wanted a customer to be limit to 128k only so if I tried to says bps =
> 128000 and 0 for burst-normal and burst-exceed. It appears that I can't
> configure anything lower than the MTU.
>
> Router_2(config-if)#rate-limit input 128000 1000 2000 conf trans exceed
drop
> Illegal normal burst size
> Increasing normal burst size to mtu size 1500
> Router_2(config-if)#
>
> If anyone can help, I'd be greatful.
>
> Tim



This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:36:08 GMT-3