Junos OS

last person joined: 21 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  Bandwidth limit in one peer

    Posted 01-07-2010 05:35

    Hello,

     

    my device j2350 is peering with two neighbors, in one peer I want to limit my servers, for example one server 5 mbit/s, second server 2 mbit/s and so on.

     

    What is the best way to do it?

    Use firewall policer or  anything else?

     

     



  • 2.  RE: Bandwidth limit in one peer

     
    Posted 01-07-2010 09:19

    Hi

     

    What do you mean by "peering with two neighbors" ?

     

    In which way do you wan to limit traffic (inbound or outbound) ?

     

    If you want to limit incoming traffic (inbound) you have to use Firewall policer.

     

    If you want to limit outgoing (outbound) traffic you would rather use shaping (under COS)

     

    HTH

     



  • 3.  RE: Bandwidth limit in one peer

    Posted 01-07-2010 10:37

    Hi,

     

    I have two bgp peer's, and on one bgp peer I have limited bandwidth.

    My aim is not to let one server to full link in this limited peer.

    Actually I want to limit traffic in both ways inbound and outbound.



  • 4.  RE: Bandwidth limit in one peer
    Best Answer

     
    Posted 01-07-2010 11:25

    If your two peers are on the same interface you will only be able to do some rate-limiting via an input and output firewall filter !

     

    If you have two different sub-interfaces you would be able to do some more intelligent limiting (shaping) in the outbound way, but I assume it's not the case !

     

     



  • 5.  RE: Bandwidth limit in one peer

    Posted 01-08-2010 00:32

    Hi,


    I use different units for every peer.
    can you give me some information about - intelligent limiting (shaping)?
    May be it is that what I need, if not I will learn some new thing.



  • 6.  RE: Bandwidth limit in one peer

     
    Posted 01-08-2010 14:14

    You will have to do a config like that:

     

    class-of-service {
        interfaces {
            ge-0/0/0 {
                unit 0 {
                    shaping-rate 5m;
                }
                unit 1 {
                    shaping-rate 2m;
                }
            }
        }
    }

     

    this config will limit outgoing trafic on interface ge-0/0/0 unit 0 to 5mbps and unit 1 to 2Mbps

     

     

    Hope this will help you !



  • 7.  RE: Bandwidth limit in one peer

    Posted 01-09-2010 23:14

    Hi,

     

    thanks, for your help.

    I think policer will be better solution in this case.