2. Make sure that remote LFA allows asymmetric remote neighbor discovery—that is, it
must send periodic targeted hello messages to the router that initiated the remote
neighbor for LDP auto-targeted adjacency.
3. Configure link protection or node-link protection on the PLR.
To configure remote LFA backup over LDP tunnels in an OSPF network:
1. Enable remote LFA backup to determine the backup next hop using dynamic LDP
label-switched path.
[edit protocols ospf backup-spf-options]
user@host# set remote-backup-calculation
2. Enable automatically targeted LDP sessions using the loopback addresses between
the PLR and the remote LFA node.
[edit protocols ldp]
user@host# set auto-targeted-session
3. Specify a time interval for which the targeted LDP sessions are kept up even after the
remote LFA node goes down.
[edit protocols ldp auto-targeted-session]
user@host# set teardown-delay seconds
For example, to set a teardown delay value of 60 seconds:
[edit protocols ldp auto-targeted-session]
user@host# set teardown-delay 60
4. Specify the maximum number of automatically targeted LDP sessions to optimize
memory usage.
[edit protocols ldp auto-targeted-session]
user@host# set maximum-sessions number of sessions
For example, to set a maximum sessions allowed to 20:
[edit protocols ldp auto-targeted-session]
user@host# set maximum-sessions 20
Related
Documentation
Remote LFA over LDP Tunnels in OSPF Networks Overview on page 547•
• Example: Configuring Remote LFA Over LDP Tunnels in OSPF Networks
• auto-targeted-session
• backup-spf-options
• no-eligible-remote-backup
• remote-backup-calculation
549Copyright © 2017, Juniper Networks, Inc.
Chapter 18: Configuring Routing Protocols