Re: Two Rate Policer posted 09/28/2004
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
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)"
class-map match-all Police
class-map match-all Voice
police cir 500000 pir 1000000
Subscription information may be found at:
Carlos G Mendioroz <tron@xxxxxxxxxxx> LW7 EQI Argentina