Re¡G Police question(About token bucket concept)

From: Chan Hong (chan_hong33@yahoo.com)
Date: Tue Jan 22 2008 - 12:23:13 ARST


Anyone has a good reference link for token bucket concept?

----- 6l%s-l%s

----
1H%s$H!R Chan Hong <chan_hong33@yahoo.com>
&,%s$H certification Cisco
<ccielab@groupstudy.com>
6G0e$i4A!R 2008 &~ 1$k 18 $i ,P4A$- $U$H 5:08:03
%DCD!G Police question(About token bucket concept)

Dear all,

I am not understand the concept of the token bucket, so please someone verify below case and tell me does it correct. If it is correct, I have 1 more question which is base on it.

police 8000 1000 conform-action transmit exceed-action drop cir = 8000 bps bc = 1000 byte = 8000 bit If the 1st packet is 500 bytes size. It takes 0.5s to transmit this packet and this packet will be under conform action(transmit). There is 4000 bit left in the token bucket. If the 2nd packet arrive in 0.1s later, the token bucket "charge" 800 bit(CIR[8kbps] x 0.1s) and 4800 bit in token bucket when 2nd pakcet arrive. If the 2nd packet is smaller than 600byte(4800bit), then packet can be transmit because the token bucket capacity available. The the 2nd packet is bigger than 600byte, it will fall into the exceed action, which is drop.

If the above concept is correct, I have a question. If there is a traffic pattern which the packets are transmitted with no idle gap. What will happen in 1 second after? (cir = 8kbps, bc = 8k also)

Thanks & Regards, Howard

d=?g(Yahoo! Mailo<2008e94g9<g:h3d= g!ii)eo<f4f f)fh4 iPod Touch! h)3fh+e e> http://hk.promo.yahoo.com/mail/loyalty012008/ d:h'#ee h>&f3c



This archive was generated by hypermail 2.1.4 : Fri Feb 01 2008 - 10:38:00 ARST