Routing

Expand all | Collapse all

Rib-groups with aggregate routes

Jump to Best Answer
  • 1.  Rib-groups with aggregate routes

     
    Posted 11-28-2016 09:19

    I notice that there is no rib-group option under aggregate. Why is this? I notice one of the previous posts talks about using 'istance-import' but this only appears not to work from the one VRF to another. The only other option I can think of is to use static routes with discard but these do not benifit from contributing routes. Any one understand why this option is not available and have any suggestions better than using statics?

     

    I am implementing on MX480, 13.3R9.13.

     

    Thanks



  • 2.  RE: Rib-groups with aggregate routes

    Posted 11-28-2016 11:02

    set routing-options rib <rib> aggregate route...

     

    works for me under Junos 15.1F6.

     

    Check out:

     

    http://www.juniper.net/techpubs/en_US/junos16.1/topics/concept/policy-aggregate-routes.html

     

    For more information.



  • 3.  RE: Rib-groups with aggregate routes

     
    Posted 11-29-2016 03:23

    I am talking about moving aggregate routes from one VRF to another using rib-groups in the same way that can be done for direct, static, OSPF, BGP routes etc., not defining routes in the routing table.

     

    The option is not there:

     

    {master}[edit routing-instances R-1]
    lab@MX480_re0# set routing-options static ri?
    Possible completions:
    rib-group Routing table group

     

    {master}[edit routing-instances R-1]

    lab@MX480_re0# set routing-options aggregate ?
    Possible completions:
    + apply-groups Groups from which to inherit configuration data
    + apply-groups-except Don't inherit configuration data from these groups
    > defaults Global route options
    > route Individual route options



  • 4.  RE: Rib-groups with aggregate routes

     
    Posted 11-30-2016 18:22

    Try using an import policy with the "instance import" function instead of rib groups.  This is more flexible and may allow the import.

     

    https://kb.juniper.net/InfoCenter/index?page=content&id=KB19787



  • 5.  RE: Rib-groups with aggregate routes

     
    Posted 12-04-2016 23:39

    I did try this but it only appears to work to or from the default routing instance and one other VRF, not between VRFs.



  • 6.  RE: Rib-groups with aggregate routes
    Best Answer

     
    Posted 12-06-2016 02:57

    Another option then is to create a logical tunnel interface.  These are virtual interfaces inside the MX.  They tunnel traffic between the two interfaces.

     

    You then place one interface in each routing-instance.  and assign a /31 address set to the two interfaces.

     

    Now you can treat this as if there were a physical interface connection between the two routing-instances and setup BGP or any other method to share routes directly.

     

    https://www.juniper.net/techpubs/en_US/junos14.1/topics/example/logical-tunnels-configuring.html



  • 7.  RE: Rib-groups with aggregate routes

     
    Posted 12-06-2016 04:12

    Yes, I agree that would work as a solution. I have decided to go with the static discard option and use rib-groups as that works for our scenario. I am a little puzzled why this option is not available for aggragte routes but appears to be available for other protocols.

     

    Thanks