Routing
Highlighted
Routing

Rib-groups with aggregate routes

‎11-28-2016 09:18 AM

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

JNCIE-ENT #552, JNCSP-ENT, JNCIP-SEC, JNCIP-SP, JNCIP-DC, JNCDS-DC, JNCDS-SEC, JNCDS-SP, CCNP, CCDA
6 REPLIES 6
Highlighted
Routing

Re: Rib-groups with aggregate routes

[ Edited ]
‎11-28-2016 11:02 AM

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.

Highlighted
Routing

Re: Rib-groups with aggregate routes

[ Edited ]
‎11-29-2016 03:23 AM

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

JNCIE-ENT #552, JNCSP-ENT, JNCIP-SEC, JNCIP-SP, JNCIP-DC, JNCDS-DC, JNCDS-SEC, JNCDS-SP, CCNP, CCDA
Highlighted
Routing

Re: Rib-groups with aggregate routes

‎11-30-2016 06:21 PM

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

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

Re: Rib-groups with aggregate routes

‎12-04-2016 11:39 PM

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

JNCIE-ENT #552, JNCSP-ENT, JNCIP-SEC, JNCIP-SP, JNCIP-DC, JNCDS-DC, JNCDS-SEC, JNCDS-SP, CCNP, CCDA
Highlighted
Routing
Solution
Accepted by topic author Regalis
‎12-06-2016 04:11 AM

Re: Rib-groups with aggregate routes

‎12-06-2016 02:56 AM

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

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

Re: Rib-groups with aggregate routes

‎12-06-2016 04:11 AM

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

JNCIE-ENT #552, JNCSP-ENT, JNCIP-SEC, JNCIP-SP, JNCIP-DC, JNCDS-DC, JNCDS-SEC, JNCDS-SP, CCNP, CCDA
Feedback