[j-nsp] routing instances - ospf - summarization

Pavel Lunin plunin at senetsy.ru
Wed Jun 5 08:29:38 EDT 2013


05.06.2013 09:57, n f wrote:
> I can export between routing instances, but I'd like to know if it was possible to export via ospf from RI2 to other physical routers
> a single route that summarizes all the local routes I have. (like 10.10.0.0/16, as all the routes I receive via ospf on RI2 from RI1 

This is rather about protocol-independent policies, not OSPF.

You can use a static route like this: set routing-instances RI2
routing-options static route 10.10/16 next-table RI1.inet.0;

But in one direction only, so you can't add a static route in the
backward direction as JUNOS will reject to commit claiming a possible
RI1<->RI2 loop.

Depending on your needs, you can have a static default from the internal
RI to external RI (or master instance) and exported local/OSPF routes
from the internal RI's to external/master RI for the backward connectivity.

--
Pavel


More information about the juniper-nsp mailing list