Step 2: Verify That Link Protection Is Up
When you verify link protection, you must check that the bypass LSP is up. You can also check the number of LSPs protected by the bypass. In the network shown in Figure 6, a bypass path should be up to protect the link between R1 and R2, or next-hop
10.0.12.14, and the two LSPs traversing the link,lsp2-r1-to-r5andlsp1-r6-to-r0.Action
To verify link protection (many-to-one backup), enter the following JUNOS CLI operational mode commands on the ingress router:
user@host>show mpls lsp extensiveuser@host>show rsvp session detailuser@host>show rsvp interfaceSample Output
user@R1>show mpls lsp extensive | no-moreIngress LSP: 1 sessions192.168.5.1From: 192.168.1.1, State: Up, ActiveRoute: 0,LSPname: lsp2-r1-to-r5ActivePath:via-r2 (primary)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=101264) 10.0.24.2(Label=100736) 10.0.45.2(Label=3)6 Jun 16 14:06:33Link-protection Up5 Jun 16 14:05:39 Selected as active path4 Jun 16 14:05:39 Record Route: 10.0.12.14(Label=101264) 10.0.24.2(Label=100736) 10.0.45.2(Label=3)3 Jun 16 14:05:39 Up2 Jun 16 14:05:39 Originate Call1 Jun 16 14:05:39 CSPF: computation result acceptedCreated: Fri Jun 16 14:05:38 2006Total 1 displayed, Up 1, Down 0[...Output truncated...]Transit 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: 101296Resv style: 1 SE, Label in: 100192, Label out: 101296Time left: 116, Since: Mon Jun 19 10:26:32 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 58739 protocol 0Link protection desiredType: Link protected LSP, using Bypass->10.0.12.141 Jun 19 10:26:32 Link protection up, using Bypass->10.0.12.14PATH rcvfrom: 10.0.16.2 (so-0/0/3.0) 579 pktsAdspec: received MTU 1500 sent MTU 1500PATH sentto: 10.0.12.14 (fe-0/1/0.0) 474 pktsRESV rcvfrom: 10.0.12.14 (fe-0/1/0.0) 501 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.2[...Output truncated...]What It Means
The sample output from ingress router
R1shows thatlsp2-r1-to-r5andlsp1-r6-to-r0have link protection up, and both LSPs are using the bypass path,10.0.12.14. However, theshow mpls lspcommand does not list the bypass path. For information about the bypass path, use theshow rsvp sessioncommand.Sample Output
user@R1>show rsvp session detailIngress RSVP: 2 sessions192.168.2.1From: 192.168.1.1, LSPstate: Up, ActiveRoute: 0LSPname: Bypass->10.0.12.14Suggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: 101456Resv style: 1 SE, Label in: -, Label out: 101456Time left: -, Since: Fri May 26 18:38:09 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 18709 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) 51939 pktsRESV rcvfrom: 10.0.17.14 (fe-0/1/1.0) 55095 pktsExplct route: 10.0.17.14 10.0.27.1Record route: <self> 10.0.17.14 10.0.27.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: 101264Resv style: 1 SE, Label in: -, Label out: 101264Time left: -, Since: Fri Jun 16 14:05:39 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 18724 protocol 0Link protection desiredType: Link protected LSPPATH rcvfrom: localclientAdspec: sent MTU 1500Path MTU: received 1500PATH sentto: 10.0.12.14 (fe-0/1/0.0) 8477 pktsRESV rcvfrom: 10.0.12.14 (fe-0/1/0.0) 8992 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: 159, Since: Mon May 22 22:08:16 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 64449 protocol 0PATH rcvfrom: 10.0.17.14 (fe-0/1/1.0) 63145 pktsAdspec: received MTU 1500PATH sentto: localclientRESV rcvfrom: localclientRecord route: 10.0.59.1 10.0.79.2 10.0.17.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: 101296Resv style: 1 SE, Label in: 100192, Label out: 101296Time left: 129, Since: Mon Jun 19 10:26:32 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 58739 protocol 0Link protection desiredType: Link protected LSPPATH rcvfrom: 10.0.16.2 (so-0/0/3.0) 3128 pktsAdspec: received MTU 1500 sent MTU 1500PATH sentto: 10.0.12.14 (fe-0/1/0.0) 2533 pktsRESV rcvfrom: 10.0.12.14 (fe-0/1/0.0) 2685 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-r6, LSPpath: PrimarySuggested label received: -, Suggested label sent: -Recovery label received: -, Recovery label sent: 3Resv style: 1 FF, Label in: 100128, Label out: 3Time left: 143, Since: Thu May 25 12:30:26 2006Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 4111 protocol 0PATH rcvfrom: 10.0.17.14 (fe-0/1/1.0) 57716 pktsAdspec: received MTU 1500 sent MTU 1500PATH sentto: 10.0.16.2 (so-0/0/3.0) 54524 pktsRESV rcvfrom: 10.0.16.2 (so-0/0/3.0) 50534 pktsExplct route: 10.0.16.2Record route: 10.0.50.2 10.0.59.1 10.0.79.2 10.0.17.14 <self> 10.0.16.2Total 2 displayed, Up 2, Down 0What It Means
The sample output from ingress router R1 shows the ingress, egress, and transit LSPs for
R1. Some information is similar to that found in theshow mpls lspcommand. However, because link protection is an RSVP feature, information about bypass paths is provided. The bypass path appears as a separate RSVP ingress session for the protected interface, as indicated by theTypefield.The bypass path name is automatically generated. By default, the name appears as
Bypass >interface-address, where the interface address is the next downstream router's interface (10.0.12.14). The explicit route10.0.17.14 10.0.27.1for the session showsR7as the transit node andR2as the egress node.Within the ingress RSVP section of the output, the LSP originating at R1 (
lsp2-r1-to-r5)is shown requesting link protection. Since a bypass path is in place to protect the downstream link,lsp2-r1-to-r5is associated with the bypass, as indicated by theLink protected LSPfield.The egress section of the output shows the return LSP
r5-to-r1, which is not protected.The transit section of the output shows link protection requested by
lsp1-r6-to-r0.Since a bypass path is in place to protect the downstream link,lsp1-r6-to-r0is associated with the bypass, as indicated by theLink protected LSPfield. Also included in the transit section of the output is the return LSPr0-to-r6, which is not protected.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 Up2100% 100Mbps 100Mbps 0bps 35Mbpsfe-0/1/1.0 Up1100% 100Mbps 100Mbps 0bps 0bpsfe-0/1/2.0 Up 0 100% 100Mbps 100Mbps 0bps 0bpsso-0/0/3.0 Up1100% 155.52Mbps 155.52Mbps 0bps 0bpsWhat It Means
The sample output from ingress router R1 shows the number of LSPs going through the interfaces configured on R1. The
Active resvfield shows the number of LSPs for each interface. For example, interface fe-0/1/0.0 between R1 and R2 has two active reservations,lsp1-r6-to-r0andlsp2-r1-to-r5; interfacefe-0/1/1.0betweenR1andR7has one, the bypass (10.0.12.14); interfacefe-0/1/2.0betweenR6andR1has no LSP reservations; and interfaceso-0/0/3.0betweenR6andR1has one LSP reservation,lsp1-r6-to-r0.