Step 1: Configure a Standby Secondary Path
Configuring a standby secondary path is a two-part process. In the first part, you define the path, and in the second part, you specify a secondary path for the LSP that refers to the defined path.
NOTE: To configure a non-standby secondary path, simply omit the
standbystatement from the secondary path configuration.
To configure a standby secondary path, follow these steps:
Action
- In configuration mode, go to the following hierarchy level:
[edit]user@host#edit protocols mpls- Configure the secondary ERO list:
[edit protocols mpls]user@host#set pathpath-namedestinationloose[edit protocols mpls]user@R1#set path via-r7 10.0.17.14 loose
- Configure the LSP and the secondary path:
[edit protocols mpls]user@host#set label-switched-pathlsp-path-namesecondarysecondary-namestandby[edit protocols mpls]user@R1#set label-switched-path r1-to-r4 secondary via-r7 standbyThe sample output below illustrates the configuration of the standby secondary path on ingress router R1 in the network shown in Figure 2.
Sample Output
[edit protocols mpls]user@R1#showlabel-switched-path r1-to-r4 {to 192.168.4.1;ldp-tunneling;fast-reroute;primary via-r2;secondary via-r7 {standby; #Omit the standby statement to configure a non-standby secondary path}}path via-r2 {10.0.12.14 loose;}path via-r7 {10.0.17.14 loose;}[...Output truncated...]What It Means
The sample output shows one standby secondary path
via-r7, which includes thestandbystatement at the[edit protocols mpls label-switched-pathlsp-path-namesecondarysecondary-name]hierarchy level. The standby secondary path is defined in thepathstatementpathvia-r7and specifies a loose hop, indicating that the route taken from the previous router to this router need not be a direct path, can include other routers, and can be received on any interface.If you have many secondary paths configured for an LSP, and you want them all to be standby, include the
standbystatement one level up in the hierarchy, at the[edit protocols mpls label-switched-pathlsp-path-name]hierarchy level, as shown in the sample output below.[edit protocols mpls]user@R1#showlabel-switched-path r1-to-r4 {to 192.168.4.1;standby; #Standby configured at the label-switched-path level of the hierarchyprimary via-r2;}secondary via-r7;}}[...Output truncated...]For more information on configuring a secondary path, see the JUNOS MPLS Applications Configuration Guide.