Re: Doubt in CAR : Rate limit

From: Godswill Oletu (oletu@inbox.lv)
Date: Tue Jun 20 2006 - 11:14:10 ART


Koen,

Too many things can go wrong with your approach. I do not see it necessary
to divide by 1.5.

I believe the confusion is how the Bc and Be values were referenced in the
question. The metric for Bc & Be is per timing interval and not per 'second'
or anything base on a rate as indicated in the question.

One indication that, your assumption might not be correct is that, you used
the 1.5 on the Bc & Be and left the CIR value. And if you go back to do some
debugs or some show commands that will tell you what was actually applied to
the interface, you will discover that the Tc value used was not 1.5.

So, converting the value given from bits to bytes by dividing by 8 is
enough, leave the 'second' (kpbs) referred to by the question.

HTH
Godswill Oletu

>
> ----- Original Message -----
> From: "Koen Zeilstra" <koen@koenzeilstra.com>
> To: "Maximus" <victorius@gmail.com>
> Cc: "Cisco certification" <ccielab@groupstudy.com>
> Sent: Tuesday, June 20, 2006 7:46 AM
> Subject: Re: Doubt in CAR : Rate limit
>
>
>> if the b is lowercaps its bits so you should divide by 8. That give's you
>> the burst size per timing interval. Not per second. So you have to
>> convert
>> the bps to a byte per timing interval value. I believe the timing
>> interface for CAR is 1,5. So that makes 300000/8*1,5=56250.
>>
>> -> solution 3.
>>
>> Don't forget the "exceed-action drop".
>>
>> HTH
>>
>> Koen
>>
>> -----------------------
>> Kerr's Three Rules for a Successful College:
>> Have plenty of football for the alumni, sex for the students,
>> and parking for the faculty.
>>
>> On Tue, 20 Jun 2006, Maximus wrote:
>>
>> | ok i am only confused on converting the normal and max burst
>> |
>> | i will give the three kind of answers which i got from pals... can
> somebody
>> | tell me which one to go forward with..
>> |
>> | Qn again : the requiremenet is "traffic is limited to 8 Mbps, with a
> normal
>> | burst size of 150kbps and an Max Burst size of 300kbps. traffic that
>> | conforms is sent
>> | with an IP precedence of 5. Traffic that does not conform is dropped. "
>> |
>> | Sol 1 :rate-limit output 8000000 150000 300000 conform-action
>> | set-prec-transmit 5
>> |
>> | Sol 2 :rate-limit output 8000000 18750 37500 conform-action
>> | set-prec-transmit 5
>> |
>> | 150000/8 = 18750
>> | 300000/8 = 37500
>> |
>> | Sol 3 :rate-limit output 8000000 28125 56250 conform-action
>> | set-prec-transmit 5
>> |
>> | (150000/8)*1.5 = 28125
>> | (300000/8)*1.5 = 56250
>> |
>> |
>> | On 6/20/06, Vishal Patel <vpatel@accessproviders.com.au> wrote:
>> |
>> | > In CAR command , the first figure i.e. 8 Mb in your case is in Bits
> per
>> | seconds.
>> |
>> | Then the second figure is Normal burst which is number of Bytes.
>> |
>> | Then the third value is the Maximum Burst which is number of Bytes.
>> |
>> |
>> |
>> |
>> | -----Original Message-----
>> | From: nobody@groupstudy.com [mailto: nobody@groupstudy.com] On Behalf
>> Of
>> | Maximus
>> | Sent: Tuesday, 20 June 2006 11:21 AM
>> | To: Cisco certification
>> | Subject: Fwd: Doubt in CAR : Rate limit
>> |
>> | sorry made a small typo... this is the exact config i have done
>> |
>> | hie all just a lil confusion
>> |
>> | the requiremenet is "traffic is limited to 8 Mbps, with a normal burst
> size
>> | of 150kbps and an Max Burst size of 300kbps. traffic that conforms is
> sent
>> | with an IP precedence of 5. Traffic that does not conform is dropped. "
>> |
>> |
>> | rate-limit output 8000000 150000 300000 conform-action
>> set-prec-transmit
> 5
>> |
>> | is my config rite ? the confision is in normal n max is it in bytes or
>> | bits...somebody please lead me out...
>> |
>> |
>> | regards,
>> |
>> | Max
>> |
>> |
>> |
>> | --
>> | regards,
>> |
>> | Max
>> |
>> | _______________________________________________________________________
>> | Subscription information may be found at:
>> | http://www.groupstudy.com/list/CCIELab.html
>> |
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Jul 01 2006 - 07:57:33 ART