Token Bucket Policer

Ruetee Chitpranee <[email protected]>
Newsgroups gmane.network.routing.click
Message-ID <CABG77Oe6FMjkG8jVECBtgz3byDpwxVjNrx+LNuw1U8iM9n_9_Q@mail.gmail.com>
Hi,

I'm trying to use *BandwidthRatedSplitter* as a *Token Bucket Policer *but
the traffic never splited to output 1 (in any case) :(
Can anybody help me please?  Thank you in advance.


tb::BandwidthRatedSplitter(RATE 1 kbps, BURST_BYTES 1);
udp::IPEncap(17, 1.0.0.2, 2.0.0.2);
rs:: InfiniteSource(\<00000000>, LIMIT 10, BURST 10);

rs -> udp -> BandwidthShaper(2 kbps) -> Unqueue(BURST -1) -> tb;
tb[0] -> Print(ok,50) -> Discard;
tb[1] -> Print(DROPPED,50) -> Discard;

-- 
Ruetee C.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.