Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring LDP Link Protection

You can configure Label Distribution Protocol (LDP) link protection for both unicast and multicast LDP label-switched paths (LSPs) to provide resiliency during link or node failure.

Before you begin:

  1. Configure the device interfaces.
  2. Configure the router ID and autonomous system number for the device.
  3. Configure the following protocols:
    1. RSVP
    2. MPLS with traffic engineering capability.
    3. OSPF with traffic engineering capability.

      Note: For multicast LDP link protection with loop-free alternative (LFA), enable link protection.

      [edit protocols]user@R0# set ospf area 0 interface all link-protection

To configure LDP link protection:

  1. Enable point-to-multipoint LDP LSPs.
    [edit protocols]user@R0# set ldp p2mp
  2. Enable LDP on all the interfaces of Router R0 (excluding the management interface) and configure link protection with dynamic RSVP bypass LSP.
    [edit protocols]user@R0# set ldp interface all link-protection dynamic-rsvp-lspuser@R0# set ldp interface fxp0.0 disable
  3. Verify and commit the configuration.

    For example:

    [edit protocols]user@R0# show protocols
    rsvp {interface all;interface fxp0.0 {disable;}}
    mpls {traffic-engineering;interface all;interface fxp0.0 {disable;}}
    ospf {traffic-engineering;area 0.0.0.0 {interface all {metric 1;}interface fxp0.0 {disable;}}}
    ldp {interface all {link-protection {dynamic-rsvp-lsp;}}interface fxp0.0 {disable;}p2mp;}
    [edit]user@R0# commitcommit complete

Published: 2014-06-01

Supported Platforms

Published: 2014-06-01