Hello,
I am trying to understand how Junos decides between RSVP and LDP when using the preference parameter on an RSVP LSP.
Here is an example of the configuration:
Path preferences:
-
Primary path: preference 6
-
1st secondary: preference 7
-
2nd secondary: preference 8
-
3rd secondary: preference 9
If the first three paths fail, I end up with an RSVP LSP with preference 9.
LDP is also enabled, with its default preference 9.
In this situation, the route selected in the RIB is the LDP route instead of the RSVP one, even though both have the same preference. The knob bgp-igp-both-ribs is enabled.
Routing table extract:
Question:
Why does Junos select the LDP route instead of the RSVP LSP when both have the same preference (9)?
Is there a specific tie‑breaker or protocol hierarchy between LDP and RSVP in this case, and is there a recommended way to ensure the RSVP LSP is preferred when active?
------------------------------
Best Regards,
ABDELHAMID
------------------------------