Step 2: Verify One-to-One Backup
You can verify that one-to-one backup is established by examining the ingress router and the other routers in the network.
Action
To verify one-to-one backup, enter the following JUNOS CLI operational mode commands:
user@host>show mpls lsp ingress extensiveuser@host>show rsvp sessionSample Output
The following sample output is from the ingress router
R1in the network shown in Figure 5:user@R1>show mpls lsp ingress extensiveIngress LSP: 1 sessions192.168.5.1From: 192.168.1.1, State: Up, ActiveRoute: 0, LSPname: r1-to-r5ActivePath: via-r2 (primary)FastReroute desiredLoadBalance: RandomEncoding type: Packet, Switching type: Packet, GPID: IPv4*Primary via-r2 State: UpSmartOptimizeTimer: 180Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 3)10.0.12.14 S 10.0.24.2 S 10.0.45.2 SReceived RRO(ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt):10.0.12.14(flag=9) 10.0.24.2(flag=1) 10.0.45.28 May 11 14:51:46 Fast-reroute Detour Up7 May 11 14:50:55 Record Route: 10.0.12.14(flag=9) 10.0.24.2(flag=1) 10.0.45.26 May 11 14:50:55 Record Route: 10.0.12.14(flag=9) 10.0.24.2 10.0.45.25 May 11 14:50:52 Selected as active path4 May 11 14:50:52 Record Route: 10.0.12.14 10.0.24.2 10.0.45.23 May 11 14:50:52 Up2 May 11 14:50:52 Originate Call1 May 11 14:50:52 CSPF: computation result acceptedCreated: Thu May 11 14:50:52 2006Total 1 displayed, Up 1, Down 0What It Means
The sample output from R1 shows that the
FastReroute desiredobject was included in the Path messages for the LSP, allowing R1 to select the active path for the LSP and establish a detour path to avoid R2.In line 8,
Fast-reroute Detour Upshows that the detour is operational. Lines 6 and 7 indicate that transit routers R2 and R4 have established their detour paths.R2,
10.0.12.14, includes(flag=9), indicating that node protection is available for the downstream node and link. R4,10.0.24.2, includes(flag=1), indicating that link protection is available for the next downstream link. In this case, R4 can protect only the downstream link because the node is the egress router R5, which cannot be protected. For more information about flags, see the JUNOS Feature Guide.The output for the
show mpls lsp extensivecommand does not show the actual path of the detour. To see the actual links used by the detour paths, you must use theshow rsvp session ingress detailcommand.Sample Output
The following sample output is from the ingress router
R1in the network shown in Figure 5.user@R1>show rsvp session ingress detailIngress RSVP: 1 sessions192.168.5.1From: 192.168.1.1,LSPstate: Up,ActiveRoute: 0LSPname: r1-to-r5, LSPpath: PrimarySuggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: 100848Resv style: 1 FF, Label in: -, Label out: 100848Time left: -, Since: Thu May 11 14:17:15 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 9228 protocol 0FastReroute desiredPATH rcvfrom: localclientAdspec: sent MTU 1500Path MTU: received 1500PATH sentto: 10.0.12.14 (fe-0/1/0.0) 35 pktsRESV rcvfrom: 10.0.12.14 (fe-0/1/0.0) 25 pktsExplct route: 10.0.12.14 10.0.24.2 10.0.45.2Record route: <self> 10.0.12.14 10.0.24.2 10.0.45.2Detour is UpDetour Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Detour adspec: sent MTU 1500Path MTU: received 1500Detour PATH sentto: 10.0.17.14 (fe-0/1/1.0) 23 pktsDetour RESV rcvfrom: 10.0.17.14 (fe-0/1/1.0) 20 pktsDetour Explct route: 10.0.17.14 10.0.79.2 10.0.59.1Detour Record route: <self> 10.0.17.14 10.0.79.2 10.0.59.1Detour Label out: 100848Total 1 displayed, Up 1, Down 0What It Means
The sample output from R1 shows the RSVP session of the main LSP. The detour path is established,
Detour is Up. The physical path of the detour is displayed inDetour Explct route. The detour path uses R7 and R9 as transit routers to reach R5, the egress router.Sample Output
The following sample output is from the first transit router R2 in the network shown in Figure 5:
user@R2>show rsvp session transit detailTransit RSVP: 1 sessions192.168.5.1From: 192.168.1.1, LSPstate: Up, ActiveRoute: 1LSPname: r1-to-r5, LSPpath: PrimarySuggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: 100448Resv style: 1 FF, Label in: 100720, Label out: 100448Time left: 126, Since: Wed May 10 16:12:21 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 5 receiver 9216 protocol 0FastReroute desiredPATH rcvfrom: 10.0.12.13 (fe-0/1/0.0) 173 pktsAdspec: received MTU 1500 sent MTU 1500PATH sentto: 10.0.24.2 (so-0/0/1.0) 171 pktsRESV rcvfrom: 10.0.24.2 (so-0/0/1.0) 169 pktsExplct route: 10.0.24.2 10.0.45.2Record route: 10.0.12.13 <self> 10.0.24.2 10.0.45.2Detour is UpDetour Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Detour adspec: received MTU 1500 sent MTU 1500Path MTU: received 1500Detour PATH sentto: 10.0.27.2 (so-0/0/3.0) 169 pktsDetour RESV rcvfrom: 10.0.27.2 (so-0/0/3.0) 167 pktsDetour Explct route: 10.0.27.2 10.0.79.2 10.0.59.1Detour Record route: 10.0.12.13 <self> 10.0.27.2 10.0.79.2 10.0.59.1Detour Label out: 100736Total 1 displayed, Up 1, Down 0What It Means
The sample output from R2 shows the detour is established (
Detour is Up) and avoids R4, and the link connecting R4 and R5 (10.0.45.2). The detour path is through R7 (10.0.27.2) and R9 (10.0.79.2) to R5 (10.0.59.1), which is different from the explicit route for the detour from R1. R1 has the detour passing through the10.0.17.14link on R7, while R1 is using the10.0.27.2link. Both detours merge at R9 through the10.0.79.2link to R5 (10.0.59.1).Sample Output
The following sample output is from the second transit router R4 in the network shown in Figure 5:
user@R4>show rsvp session transit detailTransit RSVP: 1 sessions192.168.5.1From: 192.168.1.1,LSPstate: Up, ActiveRoute: 1LSPname: r1-to-r5, LSPpath: PrimarySuggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: 3Resv style: 1 FF, Label in: 100448, Label out: 3Time left: 155, Since: Wed May 10 16:15:38 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 5 receiver 9216 protocol 0FastReroute desiredPATH rcvfrom: 10.0.24.1 (so-0/0/1.0) 178 pktsAdspec: received MTU 1500 sent MTU 1500PATH sentto: 10.0.45.2 (so-0/0/2.0) 178 pktsRESV rcvfrom: 10.0.45.2 (so-0/0/2.0) 175 pktsExplct route: 10.0.45.2Record route: 10.0.12.13 10.0.24.1 <self> 10.0.45.2Detour is UpDetour Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Detour adspec: received MTU 1500 sent MTU 1500Path MTU: received 1500Detour PATH sentto: 10.0.49.2 (so-0/0/3.0) 176 pktsDetour RESV rcvfrom: 10.0.49.2 (so-0/0/3.0) 175 pktsDetour Explct route: 10.0.49.2 10.0.59.1Detour Record route: 10.0.12.13 10.0.24.1 <self> 10.0.49.2 10.0.59.1Detour Label out: 100352Total 1 displayed, Up 1, Down 0What It Means
The sample output from R4 shows the detour is established (
Detour is Up) and avoids the link connecting R4 and R5 (10.0.45.2). The detour path is through R9 (10.0.49.2) to R5 (10.0.59.1). Some of the information is similar to that found in the output for R1 and R2. However, the explicit route for the detour is different, going through the link connecting R4 and R9 (so-0/0/3or10.0.49.2.Sample Output
The following sample output is from
R7, which is used in the detour path in the network shown in Figure 5:user@R7>show rsvp session transit detailTransit RSVP: 1 sessions, 1 detours192.168.5.1From: 192.168.1.1,LSPstate: Up, ActiveRoute: 1LSPname: r1-to-r5, LSPpath: PrimarySuggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: 100368Resv style: 1 FF, Label in: 100736, Label out: 100368Time left: 135, Since: Wed May 10 16:14:42 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 5 receiver 9216 protocol 0Detour branch from 10.0.27.1, to skip 192.168.4.1, UpTspec: rate 0bps size 0bps peak Infbps m 20 M 1500Adspec: received MTU 1500Path MTU: received 0PATH rcvfrom: 10.0.27.1 (so-0/0/3.0) 179 pktsAdspec: received MTU 1500 sent MTU 1500PATH sentto: 10.0.79.2 (so-0/0/1.0) 177 pktsRESV rcvfrom: 10.0.79.2 (so-0/0/1.0) 179 pktsExplct route: 10.0.79.2 10.0.59.1Record route: 10.0.12.13 10.0.27.1 <self> 10.0.79.2 10.0.59.1Label in: 100736, Label out: 100368Detour branch from 10.0.17.13, to skip 192.168.2.1, UpTspec: rate 0bps size 0bps peak Infbps m 20 M 1500Adspec: received MTU 1500Path MTU: received 0PATH rcvfrom: 10.0.17.13 (fe-0/1/1.0) 179 pktsAdspec: received MTU 1500PATH sentto: 10.0.79.2 (so-0/0/1.0) 0 pktsRESV rcvfrom: 10.0.79.2 (so-0/0/1.0) 0 pktsExplct route: 10.0.79.2 10.0.59.1Record route: 10.0.17.13 <self> 10.0.79.2 10.0.59.1Label in: 100752, Label out: 100368Total 1 displayed, Up 1, Down 0What It Means
The sample output from R7 shows the same information as for a regular transit router used in the primary path of the LSP: the ingress address (
192.168.1.1), the egress address (192.168.5.1), and the name of the LSP (r1-to-r5). Two detour paths are displayed; the first to avoid R4 (192.168.4.1) and the second to avoid R2 (192.168.2.1). Because R7 is used as a transit router by R2 and R4, R7 can merge the detour paths together as indicated by the identicalLabel outvalue (100368) for both detour paths. Whether R7 receives traffic from R4 with a label value of100736or from R2 with a label value of100752, R7 forwards the packet to R5 with a label value of100368.Sample Output
The following sample output is from R9, which is a router used in the detour path in the network shown in Figure 5:
user@R9>show rsvp session transit detailTransit RSVP: 1 sessions, 1 detours192.168.5.1From: 192.168.1.1, LSPstate: Up, ActiveRoute: 1LSPname: r1-to-r5, LSPpath: PrimarySuggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: 3Resv style: 1 FF, Label in: 100352, Label out: 3Time left: 141, Since: Wed May 10 16:16:40 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 5 receiver 9216 protocol 0Detour branch from 10.0.49.1, to skip 192.168.5.1, UpTspec: rate 0bps size 0bps peak Infbps m 20 M 1500Adspec: received MTU 1500Path MTU: received 0PATH rcvfrom: 10.0.49.1 (so-0/0/3.0) 183 pktsAdspec: received MTU 1500 sent MTU 1500PATH sentto: 10.0.59.1 (so-0/0/0.0) 182 pktsRESV rcvfrom: 10.0.59.1 (so-0/0/0.0) 183 pktsExplct route: 10.0.59.1Record route: 10.0.12.13 10.0.24.1 10.0.49.1 <self> 10.0.59.1Label in: 100352, Label out: 3Detour branch from 10.0.27.1, to skip 192.168.4.1, UpTspec: rate 0bps size 0bps peak Infbps m 20 M 1500Adspec: received MTU 1500Path MTU: received 0Detour branch from 10.0.17.13, to skip 192.168.2.1, UpTspec: rate 0bps size 0bps peak Infbps m 20 M 1500Adspec: received MTU 1500Path MTU: received 0PATH rcvfrom: 10.0.79.1 (so-0/0/1.0) 181 pktsAdspec: received MTU 1500PATH sentto: 10.0.59.1 (so-0/0/0.0) 0 pktsRESV rcvfrom: 10.0.59.1 (so-0/0/0.0) 0 pktsExplct route: 10.0.59.1Record route: 10.0.12.13 10.0.27.1 10.0.79.1 <self> 10.0.59.1Label in: 100368,Label out: 3Total 1 displayed, Up 1, Down 0What It Means
The sample output from R9 shows that R9 is the penultimate router for the detour path, the explicit route includes only the egress link address (
10.0.59.1), and theLabel outvalue (3) indicates that R9 has performed penultimate-hop label popping. Also, the detour branch from10.0.27.1does not include path information because R7 has merged the detour paths from R2 andR4. Notice that theLabel outvalue in the detour branch from10.0.17.13is100368, the same value as theLabel outvalue on R7.Sample Output
The following sample output is from the egress router R5 in the network shown in Figure 5:
user@R5>show rsvp session egress detailEgress RSVP: 1 sessions, 1 detours192.168.5.1From: 192.168.1.1, LSPstate: Up, ActiveRoute: 0LSPname: r1-to-r5, LSPpath: PrimarySuggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: -Resv style: 1 FF, Label in: 3, Label out: -Time left: 119, Since: Thu May 11 14:44:31 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 9230 protocol 0FastReroute desiredPATH rcvfrom: 10.0.45.1 (so-0/0/2.0) 258 pktsAdspec: received MTU 1500PATH sentto: localclientRESV rcvfrom: localclientRecord route: 10.0.12.13 10.0.24.1 10.0.45.1 <self>Detour branch from 10.0.49.1, to skip 192.168.5.1, UpTspec: rate 0bps size 0bps peak Infbps m 20 M 1500Adspec: received MTU 1500Path MTU: received 0Detour branch from 10.0.27.1, to skip 192.168.4.1, UpTspec: rate 0bps size 0bps peak Infbps m 20 M 1500Adspec: received MTU 1500Path MTU: received 0Detour branch from 10.0.17.13, to skip 192.168.2.1, UpTspec: rate 0bps size 0bps peak Infbps m 20 M 1500Adspec: received MTU 1500Path MTU: received 0PATH rcvfrom: 10.0.59.2 (so-0/0/0.0) 254 pktsAdspec: received MTU 1500PATH sentto: localclientRESV rcvfrom: localclientRecord route: 10.0.12.13 10.0.24.1 10.0.49.1 10.0.59.2 <self>Label in: 3, Label out: -Total 1 displayed, Up 1, Down 0What It Means
The sample output from R5 shows the main LSP in the
Record routefield and the detours through the network.