[j-nsp] Rate-limit

From: ev (eva@siol.net)
Date: Mon Nov 19 2001 - 10:26:23 EST


Hi all,

I'm using firewall filter for rate-limiting traffic for some networks. Can
anyone explain me if the following lines from my example allow 64Kbps in
total amount for all defined networks together or do they realize the limit
of 64Kbps for each separate prefix?

    filter Rate-limit {
        policer 64Kbps {
            if-exceeding {
                bandwidth-limit 64k;
                burst-size-limit 16k;
            }
            then discard;
        }
        term 1 {
            from {
                address {
                    x.x.x.x/19;
                    y.y.y.y/19;
                    z.z.z.z/18;
                    p.p.p.p/18;
                }
            }
            then {
                count 64Kbps-accepted;
                policer 64Kbps;
                accept;
        term 2 {
            then accept;
        }

Thanks for your help,
ev



This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:38 EDT