Routing

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  eBGP - set next-hop priority

    Posted 03-11-2021 04:09
    Hi,

    I'm using QFX5100 and I need to configure a redundant internet uplink via eBGP and also need to assign priority/preference for each of the 2 neighbors.

    Is there a way to insert preference a each group or neighbor?


    routing-instance-isp{
                    instance-type virtual-router;
                   interface irb.10;
                   routing-options {
                                  autonomous-system xxxxx;
                   }
                   protocols {
                                          bgp {
                                                    traceoptions {
                                                                                  file bgp.log size 1m files 2 world-readable;
                                                                                  flag normal;
                                                                                  flag all;
                                                                                 }
                                                                                 log-updown;
                                                                                 import policy-statement-import-isp;
                                                                                 export policy-statement-export-isp;
                                                                                 group isp-peer1 {
                                                                                            type external;
                                                                                            local-address 12.13.14.10;
                                                                                            advertise-inactive;
                                                                                            peer-as xxxx;
                                                                                            neighbor 12.13.14.9;
                                                                                 }
                                                                                 group isp-peer2 {
                                                                                            type external;
                                                                                            local-address 22.33.44.10;
                                                                                            advertise-inactive;
                                                                                            peer-as xxxx;
                                                                                            neighbor 22.33.44.9;
                                                                                 }
                                                              }
                                           }
                        }
    }


    or should it be setup in a single group with multipath? is it possible to setup preference for the multipaths?

    ------------------------------
    Thank you for your time.
    Best regards
    Carsten
    ------------------------------


  • 2.  RE: eBGP - set next-hop priority

    Posted 03-11-2021 06:40
    I think you are asking if you can override a global or group configured policy with a more specific one for a particular neighbor or group in bgp.
    The answer to that is yes.

    The higher level policy applies to all lower level peers.
    But can be overridden by creating a policy for either import or export at the lower level desired.  this lower policy with REPLACE the higher one.  So it must be a complete one for that level.

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
    http://puluka.com/home
    ------------------------------



  • 3.  RE: eBGP - set next-hop priority

    Posted 03-11-2021 11:04

    Hi Steve,

     

    Thank you.

     

    But should it be setup in a single group with multipath? is it possible to setup preference for the multipaths? I can't figure it out.

     

    Carsten

     

     

     






  • 4.  RE: eBGP - set next-hop priority

    Posted 03-11-2021 19:10
    Sorry, missed the multi path question.  This can be configured on the pair per this example in a single group.

    https://www.juniper.net/documentation/en_US/junos/topics/topic-map/bgp-multipath.html

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
    http://puluka.com/home
    ------------------------------