RE: CAR configuration

From: MMoniz (ccie2002@tampabay.rr.com)
Date: Wed Aug 13 2003 - 22:32:15 GMT-3


I think the point that is being made is the avg limit is 8 mbs based on bps
but the rest is measured in bytes, not bits.

Is this correct?

1(config-if)#rate-limit out ?
  <8000-2000000000> Bits per second
  access-group Match access list
  dscp Match dscp value
  qos-group Match qos-group ID

R1(config-if)#rate-limit out 8000000 ?
  <1000-512000000> Normal burst bytes

R1(config-if)#rate-limit out 8000000 1500000 ?
  <2000-1024000000> Maximum burst bytes

R1(config-if)#rate-limit out 8000000 1500000 3000000 ?
  conform-action action when rate not exceeded

R1(config-if)#$out 8000000 1500000 3000000 conform-action tra ex drop
R1(config-if)#

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Thomas Larus
Sent: Wednesday, August 13, 2003 9:15 PM
To: Danny.Andaluz@triaton-na.com; ccielab@groupstudy.com
Subject: Re: CAR configuration

If I remember correctly, it goes more like this:

You take the desired bps limit, say 8,000,000, to make it easy.

You divide that by 8 to get bytes. So 1,000,000 bytes.

Then you multiply that bytes value times 1.5 to get the bytes burst value.
1,500,000 bytes.

Then for the bytes excess burst value, you multiply the bytes burst value
times 2. 3,000,000 bytes.

At first glance, one would think that these high burst values would result
in output that would exceed the desired rate, but Brian Dennis did some
testing a few weeks back and found that this formula made the bandwidth
approximate the limit, while if one just specified bits per second without
setting bytes burst and bytes excess burst, the bandwidth gets throttled
down way too low.

Check out the archives or search your emails for the last month or so to get
it straight from the horse's mouth. I am going from memory here.

Tom Larus, CCIE #10,014

----- Original Message -----
From: <Danny.Andaluz@triaton-na.com>
To: <ccielab@groupstudy.com>
Sent: Wednesday, August 13, 2003 8:14 PM
Subject: CAR configuration

> Hello, Group,
>
> Example 1:
> rate-limit input 5000000 625000 625000 conform-action transmit
exceed-action
> drop
>
> Example 2:
> rate-limit input 5000000 40000 40000 conform-action transmit exceed-action
> drop
>
> I got these examples from a book I am reading and I am confused about one
> thing. I have read from numerous sources that the Bc is equal to 1/8 the
> CIR. In Example #1, this is the case. In Example #2 it is not. I am
> having a hard time understanding when to use which.
>
> Thanks,
> Danny
>
>
> _______________________________________________________________________
> You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Tue Sep 02 2003 - 18:53:58 GMT-3