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:
- Configure the device interfaces.
- Configure the router ID and autonomous system number for the device.
- Configure the following protocols:
- RSVP
- MPLS with traffic engineering capability.
- 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:
- Enable point-to-multipoint LDP LSPs.[edit protocols]user@R0# set ldp p2mp
- 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
- Verify and commit the configuration.
For example:
[edit protocols]user@R0# show protocolsrsvp {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