[j-nsp] bandwidth limiting on 4 port Fast Ethernet

Zoltan z.ori at morehead-st.edu
Mon Feb 26 07:06:15 EST 2007


----- Original Message -----
From: Gökhan Gümüº <ggumus at gmail.com>
To: <juniper-nsp at puck.nether.net>
Sent: Monday, February 26, 2007 5:05 AM
Subject: [j-nsp] bandwidth limiting on 4 port Fast Ethernet


> Hi all,
>
> We have 4-port Fast Ethernet PIC on our M-series router.I am trying to
> limit a certain customer on Fast Ethernet PIC to (for example) 6
> Mbps.Iconfigured a policer like that:
>
> filter test {
>     policer p1 {
>         if-exceeding {
>             bandwidth-limit 6m;
>             burst-size-limit 1m;
>         }
>         then discard;
>
> But it is not working and then i see some options on juniper web
> site.Underfasthether-options there is a command
> "ingress-rate-limit".But it is working
> on 12-port,48-port,etc PICs.We have 4-port Fast Ethernet.
>
> Is anybody can help me about how can i limit traffic on 4-port Fast
> Ethernet?
>

How are you applying the filter? Like so?

interfaces

fe-0/0/0 {
    speed 100m;
    link-mode full-duplex;
    unit 0 {
        family inet {
            filter {
                input test;
            }
            address <myportaddress>;
        }
    }
}

firewall

policer p1 {
    if-exceeding {
        bandwidth-limit 6m;
        burst-size-limit 1m;
    }
}

filter test {
    from {
        source-address {
                <address/mask to limit>;
        }
    then {
        policer p1;
        accept;
    }
}

Regards,

Zoltan Ori



More information about the juniper-nsp mailing list