Re: Question about CIR/PIR.

From: Pavel Bykov (slidersv@gmail.com)
Date: Fri Nov 21 2008 - 13:55:34 ARST


Almost, but not quite.
2R3C policers have reverse order of checking the buckets.

In 1R2C/1R3C policers, the Conform, or normal bucket is checked first.
in 2R3C, or the policer you are talking about, the PIR bucket is checked
first.
in the simplest terms, you mark 2000-byte packet as yellow, and remove
tokens, so now you have 0. And if the second 1000-byte packet would come, it
will be dropped right away, because PIR is 0, and 1000 > 0. So it will never
be marked as green.

Regards,

On Fri, Nov 21, 2008 at 12:18 PM, Nambi Appachigounder <
nambi_gct@yahoo.co.in> wrote:

> Hi,
>
> The RFC-2698 TrTCM concept, I need some clarification.
>
> - Assume that in each interval CIR Bucket is filled with 1000 tokens and
> PIR Bucket is filled with 2000 tokens.
> - with in an interval what if I receive one packet of size 2000 and
> followed by another of size 1000.I think we mark
> the 2000 as yellow and 1000 as green and hence effectively forward 3000
> bytes per interval which is
> more than PIR.How is this situation handled?
>
> -Nambi
>
>
>
>
> Add more friends to your messenger and enjoy! Go to
> http://messenger.yahoo.com/invite/
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>

-- 
Pavel Bykov
----------------
Don't forget to help stopping the braindumps, use of which reduces value of
your certifications. Sign the petition at http://www.stopbraindumps.com/

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Mon Dec 01 2008 - 08:18:31 ARST