Routing

Expand all | Collapse all

Import received/non-active routes to routing instance

Jump to Best Answer
  • 1.  Import received/non-active routes to routing instance

    Posted 10-12-2020 02:39

    Hi

     

    Let's say I have 2 transits from different ISPs with 2 full bgp v4 tables. One of these tables I would like to import into a routing instance before any bestpath selection. Like dumping the received routes directly into another routing instance.

     

    Is this possible?

     

    Thank you



  • 2.  Re: Import received/non-active routes to routing instance
    Best Answer

    Posted 10-12-2020 03:04

    Hello,

    Short answer is yes.

    Long answer is that only all valid routes (NH reachable, no AS loops, no cluster-id loops, etc) can be imported this way.

    You need to create a RIB-group and assign it to a family under [protocols bgp group BLAH neighbor X.Y.Z.W family inet]

    Example config below:

     

    set routing-options rib-group BlAh import-rib [inet.0 DUMPSTER.inet.0 ]
    set routing-instances DUMPSTER instance-type virtual-router
    set protocols bgp group BLAH neighbor 203.0.113.1 family inet unicast rib-group BlAh

     

     

    HTH

    Thx

    Alex

     



  • 3.  Re: Import received/non-active routes to routing instance

    Posted 10-12-2020 04:34
    Hi

    Thanks for quick answer! Awesome.