Step 1: Verify the LSP
Purpose
Typically, you use the
show mpls lsp extensivecommand to verify the LSP. However, for quick verification of the LSP state, use theshow mpls lspcommand. If the LSP is down, use theextensiveoption (show mpls lsp extensive)as a follow-up. If your network has numerous LSPs, you might consider specifying the name of the LSP, using thenameoption (show mpls lsp namenameorshow mpls lsp namenameextensive).Action
To determine whether the LSP is up, enter the following command from the ingress router:
user@ingress-router>show mpls lsp extensiveSample Output
user@R1>show mpls lsp extensiveIngress LSP: 1 sessions10.0.0.6From: 10.0.0.1, State: Up, ActiveRoute: 1, LSPname: R1-to-R6ActivePath: (primary)LoadBalance: RandomEncoding type: Packet, Switching type: Packet, GPID: IPv4*Primary State: UpComputed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 20)10.1.12.2 S 10.1.26.2SReceived RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt):10.1.12.2 10.1.26.299 Sep 18 14:19:04 CSPF: computation result accepted98 Sep 18 14:19:04 CSPF: link down/deleted 10.1.13.1(R1.00/10.0.0.1)->10.1.13.2(R3.00/10.0.0.3)97 Sep 18 14:19:01 Record Route: 10.1.12.2 10.1.26.296 Sep 18 14:19:01 Up95 Sep 18 14:19:01 Clear Call94 Sep 18 14:19:01 CSPF: computation result accepted93 Sep 18 14:19:01 MPLS label allocation failure92 Sep 18 14:19:01 Down91 Aug 17 12:22:52 Selected as active path90 Aug 17 12:22:52 Record Route: 10.1.13.2 10.1.36.289 Aug 17 12:22:52 Up[...Output truncated...]Created: Sat Jul 10 18:18:44 2004Total 1 displayed, Up 1, Down 0Egress LSP: 1 sessions10.0.0.1From: 10.0.0.6, LSPstate: Up, ActiveRoute: 0LSPname: R6-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: 144, Since: Tue Aug 17 12:23:14 2004Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 39024 protocol 0PATH rcvfrom: 10.1.15.2 (so-0/0/1.0) 67333 pktsAdspec: received MTU 1500PATH sentto: localclientRESV rcvfrom: localclientRecord route:10.1.56.2 10.1.15.2 <self>Total 1 displayed, Up 1, Down 0Transit LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0What It Means
The sample output from ingress router
R1shows that the LSP is using an alternate path rather than the configured path. The configured path for the LSP isR1throughR3toR6,and for the reverse LSP,R6throughR3toR1. The alternate path used by the LSP isR1throughR2toR6,and for the reverse LSP,R6 throughR5toR1.