2. Verify the LSP
Purpose
After configuring the LSP, you must verify that the LSP is up. LSPs can be ingress, transit, or egress. Use the
show mpls lspcommand for quick verification of the LSP state, with theextensiveoption (show mpls lsp extensive)as a follow-up if the LSP is down. 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 verify that the LSP is up, enter the following command from the ingress router:
user@host>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.13.2 S 10.1.36.2 SReceived RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt):10.1.13.2 10.1.36.26 Dec 13 11:50:15 Selected as active path5 Dec 13 11:50:15 Record Route: 10.1.13.2 10.1.36.24 Dec 13 11:50:15 Up3 Dec 13 11:50:15 Originate Call2 Dec 13 11:50:15 CSPF: computation result accepted1 Dec 13 11:49:45 CSPF failed: no route toward 10.0.0.6[6 times]Created: Mon Dec 13 11:47:19 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: 127, Since: Mon Dec 13 11:50:10 2004Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500Port number: sender 1 receiver 39136 protocol 0PATH rcvfrom: 10.1.13.2 (so-0/0/2.0) 28709 pktsAdspec: received MTU 1500PATH sentto: localclientRESV rcvfrom: localclientRecord route: 10.1.36.2 10.1.13.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
R1show two LSPs in which this router participates: ingress LSPR1-to-R6and egress LSPR6-to-R1(the reverse LSP which allows bidirectional traffic). Both LSPs have active routes to the destination:10.0.0.6for the ingress LSP and10.0.0.1for the egress LSP. The state for both LSPs is up.For more information on verifying the LSP, see Determining the LSP State.