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

Jared Gull jmgull at yahoo.com
Mon Feb 26 08:54:58 EST 2007


Gokhan,

Have you tried the following format:

[edit firewall]
user at host# show 
policer p1 {  <<< defined
    if-exceeding {
        bandwidth-limit 6m;
        burst-size-limit 1m;
    }
    then discard;
}
filter test {
    term 1 {
        from {
            source-address {
                10.1.1.0/24; <<address range of
customer>>
            }
        }
        then policer p1; <<< referenced
    }
    term 2 {
        then accept;
    }
}

This would then be applied as an input filter on the
interface facing the customer. 

[edit]
user at host# show interfaces fe-0/0/0 
unit 0 {
    family inet {
        filter {
            input test; <<< filter/policer applied
        }
        address 10.1.0.1/16;
    }
}

The other format may not work depending on your
version of software.

Hths..

Jared Gull
--- Gökhan Gümüº <ggumus at gmail.com> wrote:

> 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?
> 
> Thanks and best regards,
> 
> Gokhan Gumus
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
> 



 
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com


More information about the juniper-nsp mailing list