And we played a bit with colleagues and found third way, for me it seems the
best - use no-install for protocol families, which effectively disables
installing routes to forwarding table and somehow disables nexthop validation.
My config is now like this:
> show configuration protocols bgp
mtu-discovery;
family inet-vpn {
unicast {
no-install;
output-queue-priority priority 3;
}
}
family inet6-vpn {
unicast {
no-install;
output-queue-priority priority 3;
}
}
family l2vpn {
auto-discovery-only {
no-install;
output-queue-priority priority 10;
}
signaling {
no-install;
output-queue-priority priority 10;
}
}
family evpn {
signaling {
no-install;
output-queue-priority priority 10;
}
}
family inet-mvpn {
signaling {
no-install;
output-queue-priority priority 10;
}
}
family inet6-mvpn {
signaling {
no-install;
output-queue-priority priority 9;
}
}
family route-target {
advertise-default;
output-queue-priority priority 12;
}
> show configuration routing-options
resolution {
rib bgp.rtarget.0 {
resolution-ribs inet.0;
}
}
The only family that still needs resolution is route-target.
Best regards,
Misak Khachatryan,
On Thu, Sep 13, 2018 at 4:08 PM
[email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>> wrote:
> From: Ivan Ivanov [mailto:[email protected]<mailto:[email protected]>]
> Sent: Thursday, September 13, 2018 10:58 AM
>
> Hi,
>
> There are a few different ways to resolve the MP-BGP routes on out of band
> Juniper RR. Depends on how flexible you want to be, one can use static route
> in inet.3, change of the resolution or rib-groups copying the routes form
> inet.0 to inet.3.
>
> Using the static route will work even without family mpls enabled on the
> interfaces. However the other two ways require that family to be enabled on
> the RR interfaces.
>
Hmm that’s interesting, cause on code version 12 and 15 the “set
routing-options resolution rib bgp.l3vpn.0 resolution-ribs inet.0” is the only
thing that’s needed, i.e. no need for family mpls on RR interfaces.
So I have a theory that once you enable inet.3 (in any shape or form) then you
need "family mpls" on RR interfaces?
adam
netconsultings.com<http://netconsultings.com>
::carrier-class solutions for the telecommunications industry::
_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp