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@host>show mpls lsp extensiveSample Output 1
user@R1>show mpls lsp extensiveIngress LSP: 1 sessions10.0.0.6From: 10.0.0.1, State: Dn, ActiveRoute: 0,LSPname: R1-to-R6ActivePath: (none)LoadBalance: RandomEncoding type: Packet, Switching type: Packet, GPID: IPv4Primary State: Dn2 Oct 27 15:06:05 10.1.13.2:No Route toward dest[4 times]1 Oct 27 15:05:56 Originate CallCreated: Wed Oct 27 15:05:55 2004Total 1 displayed, Up 0,Down 1Egress LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0Transit LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0user@R3>show mpls lsp extensiveIngress LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0Egress LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0Transit LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0user@R6>show mpls lsp extensiveIngress LSP: 1 sessions10.0.0.1From: 10.0.0.6, State: Dn, ActiveRoute: 0,LSPname: R6-to-R1ActivePath: (none)LoadBalance: RandomEncoding type: Packet, Switching type: Packet, GPID: IPv4Primary State: DnWill be enqueued for recomputation in 22 second(s).1 Oct 27 14:59:12CSPF failed: no route toward 10.0.0.1[4 times]Created: Wed Oct 27 14:57:44 2004Total 1 displayed, Up 0,Down 1Egress LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0Transit LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0What It Means
The sample output shows that the LSP is down in both directions, from
R1toR6, and fromR6toR1. The output fromR1shows thatR1is using a no-cspf LSP since it tried to originate the call without being able to reach the destination. The output fromR6shows that the Constrained Shortest Path First (CSPF) algorithm failed, resulting in no route to destination10.0.0.1.