Step 2: Verify That Node-Link Protection Is Up
After you configure node-link protection, you must check that bypass paths are up. You can also check the number of LSPs protected by the bypass paths. In the network shown in Figure 7, two bypass paths should be up: one next-hop bypass path protecting the link between R1 and R2 (or next-hop
10.0.12.14), and a next-next-hop bypass path avoiding R2.Action
To verify node-link protection (many-to-one backup), enter the following JUNOS CLI operational mode commands on the ingress router. You can also issue the commands on transit routers and other routers used in the bypass path for slightly different information.
show mpls lsp(See Sample Output)show mpls lsp extensive(See Sample Output)show rsvp interface(See Sample Output)show rsvp interface extensive(See Sample Output)show rsvp session detail(See Sample Output)Sample Output
user@R1>show mpls lspIngress LSP: 1 sessionsTo From State Rt ActivePath P LSPname192.168.5.1 192.168.1.1 Up 0 via-r2 *lsp2-r1-to-r5Total 1 displayed,Up 1, Down 0Egress LSP: 1 sessionsTo From State Rt Style Labelin Labelout LSPname192.168.1.1 192.168.5.1 Up 0 1 FF 3 -r5-to-r1Total 1 displayed,Up 1, Down 0Transit LSP: 2 sessionsTo From State Rt Style Labelin Labelout LSPname192.168.0.1 192.168.6.1Up0 1 FF 100464 101952lsp1-r6-to-r0192.168.6.1 192.168.0.1Up0 1 FF 100448 3r0-to-t6Total 2 displayed, Up 2, Down 0What It Means
Sample output from R1 for the
show mpls lspcommand shows a brief description of the state of configured and active LSPs for which R1 is the ingress, transit, and egress router. All LSPs are up. R1 is the ingress router forlsp2-r1-to-r5, and the egress router for return LSPr5-to-r1. Two LSPs transitR1,lsp1-r6-to-r0and the return LSPr0-to-t6. For more detailed information about the LSP, include theextensiveoption when you issue theshow mpls lspcommand.Sample Output
user@R1>show mpls lsp extensiveIngress LSP: 1 sessions192.168.5.1From: 192.168.1.1,State: Up, ActiveRoute: 0,LSPname: lsp2-r1-to-r5ActivePath: via-r2 (primary)Node/Link protection 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(Label=101872) 10.0.24.2(Label=101360) 10.0.45.2(Label=3)11 Jul 11 14:30:58 Link-protection Up10 Jul 11 14:28:28 Selected as active path[...Output truncated...]Created: Tue Jul 11 14:22:58 2006Total 1 displayed, Up 1, Down 0Egress LSP: 1 sessions192.168.1.1From: 192.168.5.1,LSPstate: Up, ActiveRoute: 0LSPname: r5-to-r1, LSPpath: PrimarySuggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: -Resv style: 1 FF, Label in: 3, Label out: -Time left: 146, Since: Tue Jul 11 14:28:36 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 29228 protocol 0PATH rcvfrom: 10.0.12.14 (fe-0/1/0.0) 362 pktsAdspec: received MTU 1500PATH sentto: localclientRESV rcvfrom: localclientRecord route: 10.0.45.2 10.0.24.2 10.0.12.14 <self>Total 1 displayed, Up 1, Down 0Transit LSP: 2 sessions192.168.0.1From: 192.168.6.1,LSPstate: Up, ActiveRoute: 0LSPname: lsp1-r6-to-r0, LSPpath: PrimarySuggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: 101952Resv style: 1 SE, Label in: 100464, Label out: 101952Time left: 157, Since: Tue Jul 11 14:31:38 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 11131 protocol 0Node/Link protection desiredType: Node/Link protected LSP, using Bypass->10.0.12.14->10.0.24.21 Jul 11 14:31:38 Node protection up, using Bypass->10.0.12.14->10.0.24.2PATH rcvfrom: 10.0.16.2 (so-0/0/3.0) 509 pktsAdspec: received MTU 1500 sent MTU 1500PATH sentto: 10.0.12.14 (fe-0/1/0.0) 356 pktsRESV rcvfrom: 10.0.12.14 (fe-0/1/0.0) 358 pktsExplct route: 10.0.12.14 10.0.24.2 10.0.45.2 10.0.50.2Record route: 10.0.16.2 <self> 10.0.12.14 10.0.24.2 10.0.45.2 10.0.50.2192.168.6.1From: 192.168.0.1,LSPstate: Up, ActiveRoute: 0LSPname: r0-to-t6, LSPpath: PrimarySuggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: 3Resv style: 1 FF, Label in: 100448, Label out: 3Time left: 147, Since: Tue Jul 11 14:31:36 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 23481 protocol 0PATH rcvfrom: 10.0.12.14 (fe-0/1/0.0) 358 pktsAdspec: received MTU 1500 sent MTU 1500PATH sentto: 10.0.16.2 (so-0/0/3.0) 350 pktsRESV rcvfrom: 10.0.16.2 (so-0/0/3.0) 323 pktsExplct route: 10.0.16.2Record route: 10.0.50.2 10.0.45.2 10.0.24.2 10.0.12.14 <self> 10.0.16.2Total 2 displayed, Up 2, Down 0What It Means
Sample output from R1 for the
show mpls lsp extensivecommand shows detailed information about all LSPs for which R1 is the ingress, egress, or transit router, including all past state history and the reason why an LSP failed. All LSPs are up. The main two LSPslsp2-r1-to-r5andlsp1-r6-to-r0have node-link protection as indicated by theNode/Link protection desiredfield in the ingress and transit sections of the output. In the ingress section of the output, theLink-protection Upfield shows thatlsp2-r1-to-r5has link protection up. In the transit section of the output, theType: Node/Link protected LSPfield shows thatlsp1-r6-to-r0has node-link protection up, and in case of failure will use the bypassLSP Bypass->10.0.12.14->10.0.24.2.Sample Output
user@R1>show rsvp interfaceRSVP interface: 4 activeActive Subscr- Static Available Reserved HighwaterInterface State resv iption BW BW BW markfe-0/1/0.0 Up 2100% 100Mbps 100Mbps 0bps 0bpsfe-0/1/1.0 Up 1 100% 100Mbps 100Mbps 0bps 0bpsfe-0/1/2.0 Up 0 100% 100Mbps 100Mbps 0bps 0bpsso-0/0/3.0 Up 1 100% 155.52Mbps 155.52Mbps 0bps 0bpsWhat It Means
Sample output from R1 for the
show rsvp interfacecommand shows four interfaces enabled with RSVP (Up). Interfacefe-0/1/0.0has two active RSVP reservations (Active resv) that might indicate sessions for the two main LSPs,lsp1-r6-to-r0andlsp2-r1-to-r5.Interfacefe-0/1/0.0is the connecting interface between R1 and R2, and both LSPs are configured with a strict path throughfe-0/1/0.0. For more detailed information about what is happening on interfacefe-0/1/0.0, issue theshow rsvp interface extensivecommand.Sample Output
user@R1>show rsvp interface extensiveRSVP interface: 3 activefe-0/1/0.0 Index 67, State Ena/UpNoAuthentication, NoAggregate, NoReliable,LinkProtectionHelloInterval 9(second)Address 10.0.12.13ActiveResv 2, PreemptionCnt 0, Update threshold 10%Subscription 100%,bc0 = ct0, StaticBW 100Mbpsct0: StaticBW 100Mbps, AvailableBW 100MbpsMaxAvailableBW 100Mbps = (bc0*subscription)ReservedBW [0] 0bps[1] 0bps[2] 0bps[3] 0bps[4] 0bps[5] 0bps[6] 0bps[7] 0bpsProtection: On, Bypass: 2, LSP: 2, Protected LSP: 2, Unprotected LSP: 02 Jul 14 14:49:40 New bypass Bypass->10.0.12.141 Jul 14 14:49:34 New bypass Bypass->10.0.12.14->10.0.24.2Bypass: Bypass->10.0.12.14, State: Up, Type: LP, LSP: 0, Backup: 03 Jul 14 14:49:42 Record Route: 10.0.17.14 10.0.27.12 Jul 14 14:49:42 Up1 Jul 14 14:49:42 CSPF: computation result acceptedBypass: Bypass->10.0.12.14->10.0.24.2, State: Up, Type: NP, LSP: 2, Backup:04 Jul 14 14:50:04 Record Route: 10.0.17.14 10.0.79.2 10.0.59.1 10.0.45.13 Jul 14 14:50:04 Up2 Jul 14 14:50:04 CSPF: computation result accepted1 Jul 14 14:49:34 CSPF failed: no route toward 10.0.24.2[...Output truncated...]What It Means
Sample output from R1 for the
show rsvp interface extensivecommand shows more detailed information about the activity on all RSVP interfaces (3). However, only output forfe-0/1/0.0is shown. Protection is enabled (Protection: On), with two bypass paths (Bypass: 2)protecting two LSPs (Protected LSP: 2). All LSPs are protected, as indicated by theUnprotected LSP: 0field. The first bypassBypass->10.0.12.14is a link protection bypass path (Type: LP), protecting the link betweenR1andR2,fe-0/1/0.0.The second bypass path10.0.12.14->10.0.24.2is a node-link protected LSP, avoidingR2in case of node failure.Sample Output
user@R1>show rsvp session detailIngress RSVP: 2 sessions192.168.4.1From: 192.168.1.1,LSPstate: Up, ActiveRoute: 0LSPname: Bypass->10.0.12.14->10.0.24.2Suggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: 102000Resv style: 1 SE, Label in: -, Label out: 102000Time left: -, Since: Tue Jul 11 14:30:53 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 60120 protocol 0Type: Bypass LSPNumber of data route tunnel through: 2Number of RSVP session tunnel through: 0PATH rcvfrom: localclientAdspec: sent MTU 1500Path MTU: received 1500PATH sentto: 10.0.17.14 (fe-0/1/1.0) 336 pktsRESV rcvfrom: 10.0.17.14 (fe-0/1/1.0) 310 pktsExplct route: 10.0.17.14 10.0.79.2 10.0.59.1 10.0.45.1Record route: <self> 10.0.17.14 10.0.79.2 10.0.59.1 10.0.45.1192.168.5.1From: 192.168.1.1,LSPstate: Up, ActiveRoute: 0LSPname: lsp2-r1-to-r5, LSPpath: PrimarySuggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: 101872Resv style: 1 SE, Label in: -, Label out: 101872Time left: -, Since: Tue Jul 11 14:28:28 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 2 receiver 60118 protocol 0Node/Link protection desiredType: Node/Link protected LSPPATH rcvfrom: localclientAdspec: sent MTU 1500Path MTU: received 1500PATH sentto: 10.0.12.14 (fe-0/1/0.0) 344 pktsRESV rcvfrom: 10.0.12.14 (fe-0/1/0.0) 349 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.2Total 2 displayed, Up 2, Down 0Egress RSVP: 1 sessions192.168.1.1From: 192.168.5.1,LSPstate: Up, ActiveRoute: 0LSPname: r5-to-r1, LSPpath: PrimarySuggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: -Resv style: 1 FF, Label in: 3, Label out: -Time left: 147, Since: Tue Jul 11 14:28:36 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 29228 protocol 0PATH rcvfrom: 10.0.12.14 (fe-0/1/0.0) 348 pktsAdspec: received MTU 1500PATH sentto: localclientRESV rcvfrom: localclientRecord route: 10.0.45.2 10.0.24.2 10.0.12.14 <self>Total 1 displayed, Up 1, Down 0Transit RSVP: 2 sessions192.168.0.1From: 192.168.6.1,LSPstate: Up, ActiveRoute: 0LSPname: lsp1-r6-to-r0, LSPpath: PrimarySuggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: 101952Resv style: 1 SE, Label in: 100464, Label out: 101952Time left: 134, Since: Tue Jul 11 14:31:38 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 11131 protocol 0Node/Link protection desiredType: Node/Link protected LSPPATH rcvfrom: 10.0.16.2 (so-0/0/3.0) 488 pktsAdspec: received MTU 1500 sent MTU 1500PATH sentto: 10.0.12.14 (fe-0/1/0.0) 339 pktsRESV rcvfrom: 10.0.12.14 (fe-0/1/0.0) 343 pktsExplct route: 10.0.12.14 10.0.24.2 10.0.45.2 10.0.50.2Record route: 10.0.16.2 <self> 10.0.12.14 10.0.24.2 10.0.45.2 10.0.50.2192.168.6.1From: 192.168.0.1,LSPstate: Up, ActiveRoute: 0LSPname: r0-to-t6, LSPpath: PrimarySuggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: 3Resv style: 1 FF, Label in: 100448, Label out: 3Time left: 158, Since: Tue Jul 11 14:31:36 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 23481 protocol 0PATH rcvfrom: 10.0.12.14 (fe-0/1/0.0) 344 pktsAdspec: received MTU 1500 sent MTU 1500PATH sentto: 10.0.16.2 (so-0/0/3.0) 337 pktsRESV rcvfrom: 10.0.16.2 (so-0/0/3.0) 310 pktsExplct route: 10.0.16.2Record route: 10.0.50.2 10.0.45.2 10.0.24.2 10.0.12.14 <self> 10.0.16.2Total 2 displayed, Up 2, Down 0What It Means
Sample output from R1 shows detailed information about the RSVP sessions active on R1. All sessions are up, with two ingress sessions, one egress session, and two transit sessions.
Within the ingress section, the first session is a bypass path, as indicated by the
Type: Bypass LSPfield; and the second session is a protected LSP (lsp2-r1-to-r5)originating on R1, as indicated by theType: Node/Link protected LSPfield.