08-06-2002 06:51 AM - edited 02-20-2020 10:11 PM
"If the actual debt is greater than the extended limit, all packets will
be dropped until the actual debt is reduced through accumulation of
tokens in the token bucket."
(from "Policing and Shaping Overview")
Does it mean, that the next tokens (number equal to actual debt) are
discarded (not put in the bucket) to reduce the amount of "actual debt" ?
Another point I wonder whether the token bucket is replenished at regular intervals or replenished continuously ? (for example if average rate is 20 bits/sec, then bucket is replenished 10 bits after 0.5 sec or only replenished by 1 sec intervals by 20 bits?)
Thanks in advance.
Murat
01-06-2003 01:11 AM
The debt is measured in tokens, so the next tokens will be added to the bucket (reducing the debt).
Don't confuse tokens and packets.
I *believe* the token bucket is refreshed many times per second.
01-06-2003 06:48 AM
Dear Friends
1. When total Debt exceeds the limits of Extended Bucket, packets gets dropped and once packets gets dropped, the value of Compounded Debt gets RESET.
2. Yes, Token replenishment is a continuous process and this is done at the rate defined as CIR.
I trust this brings clarity.
Shailendra
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide