Step 1: Configure Link Protection
Purpose
Configuring link protection is a two-part process. The first part involves configuring link protection on the RSVP interface, and the second part sets link protection for any LSPs traversing the protected link that require use of the bypass path.
Action
To configure link protection, follow these steps:
- In configuration mode, go to the following hierarchy level:
[edit]user@R1#edit protocols rsvp interfacetype-fpc/pic/port[edit]user@R1#edit protocols rsvp interface fe-0/1/0
- Configure link protection for the interface:
[edit protocols rsvp interfacetype-fpc/pic/port]user@R1#set link-protection- Verify the link protection configuration for the interface:
[edit protocols rsvp interfacetype-fpc/pic/port]user@R1#show- Configure link protection for LSPs requiring use of the bypass path:
[edit protocols rsvp interface fe-0/1/0.0]user@R1#top[edit]user@R1#edit protocols mpls label-switched-pathlsp-path-name[edit]user@R1#edit protocols mpls label-switched-path lsp2-r1-to-r5
- Configure link protection for the LSP:
[edit protocols mpls label-switched-pathlsp-path-name]user@R1#set link-protection- Verify and the link protection configuration for the LSP:
[edit protocols mpls label-switched-pathlsp-path-name]user@R1#showuser@R1#commitSample Output
The following sample output illustrates the configuration of the link protection on ingress router R1 in the network shown in Figure 6:
[edit protocols rsvp]user@R1#showinterface fe-0/1/0.0 {link-protection; #Protection for the RSVP interface}[edit protocols mpls label-switched-path lsp2-r1-to-r5]user@R1#up[edit protocols mpls]user@R1#showlabel-switched-path lsp2-r1-to-r5{ #Path level of the hierarchyto 192.168.5.1;link-protection;[edit protocols mpls]user@R1#commitcommit completeWhat It Means
The sample output shows link protection for a specific interface. After link protection is configured, a bypass path is signaled to avoid that link in case of a failure. Having a bypass path available does not in itself provide protection for LSPs that traverse the protected link. You must configure link protection on the ingress router for each LSP that will benefit from the bypass path.