From: Carlos G Mendioroz (tron@huapi.ba.ar)
Date: Tue Sep 28 2004 - 13:06:11 GMT-3
There is no two rate single bucket.
There are two different versions of "three color policers":
RFC 2697 Single Rate Three Color Policer, which uses a single rate (CIR)
for conforming and Be for bursts (i.e. exceed/violate).
RFC 2698 Two Rate Three Color Policer, which uses CIR and PIR.
Both are two token bucket algorithms.
If you have CIR and no Be, then you have a two color single rate policer.
In your example, PIR has no use as you are not specifying a violate
action, and the default violate action is the exceed action.
Whether the router is actually implementing the PIR control or not seems
irrelevant...
gladston@br.ibm.com wrote:
> I understood that Single token bucket, Two Token Bucket and Two rate Policer were independently, that is:
>
> two token-> police 8000 2000 4000 conform transmit exceed set-qos-transmit 4 violate drop
>
> single token -> police 8000 2000 4000 conform transmit exceed drop
>
> two rate with two token -> police cir 500000 pir 1000000 conform-action transmit exceed-action set-prec-transmit 2 violate-action drop
>
> two rate with single token -> police cir 500000 pir 1000000 conform-action transmit exceed-action drop
>
>
> But this statement says that Two-Token is available through Two-Rate. Is it wrong?
>
> "There are currently two types of token bucket algorithms: a single token bucket algorithm (available through the Traffic Policing feature) and a two token bucket algorithm (available through the Two-Rate Policer)"
>
> http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t4/ft2rtplc.htm
>
>
>
> R6#sh run
> class-map match-all Police
> match any
> class-map match-all Voice
> !
> !
> policy-map Police
> class Police
> police cir 500000 pir 1000000
> conform-action transmit
> exceed-action transmit
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
-- Carlos G Mendioroz <tron@huapi.ba.ar> LW7 EQI Argentina
This archive was generated by hypermail 2.1.4 : Fri Oct 01 2004 - 15:00:50 GMT-3