Step 1: Verify That the LSP Is Established
Purpose
Check that the LSP shown in Figure 4 is established and traversing the path from
R1toR6through the red links.Action
To verify that the LSP is established, enter the following JUNOS command-line interface (CLI) operational mode command:
user@host>show mpls lsp extensiveuser@host>show mpls lspSample Output
user@R1>show mpls lsp extensive | no-moreIngress LSP: 1 sessions10.0.0.6From: 10.0.0.1, State: Up, ActiveRoute: 1, LSPname: R1-to-R6ActivePath: (primary)LoadBalance: RandomMetric: 100Encoding type: Packet, Switching type: Packet, GPID: IPv4*PrimaryState: UpInclude: red Exclude: blueComputed ERO(S [L] denotes strict [loose] hops): (CSPF metric: 20)10.1.15.2 S 10.1.56.2 SReceived RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt):10.1.15.2 10.1.56.26 May 11 19:31:42Selected as active path5 May 11 19:31:42 Record Route: 10.1.15.2 10.1.56.24 May 11 19:31:42 Up3 May 11 19:31:42 Originate Call2 May 11 19:31:42CSPF: computation result accepted1 May 11 19:31:12 CSPF failed: no route toward 10.0.0.6[5 times]Created: Wed May 11 19:29:17 2005Total 1 displayed,Up 1, Down 0[...Output truncated...]Sample Output 2
[edit protocols mpls]user@R5#run show mpls lspIngress LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0Egress LSP: 0 sessionsTotal 0 displayed, Up 0, Down 0Transit LSP: 2 sessionsTo From State Rt Style Labelin Labelout LSPname10.0.0.1 10.0.0.6 Up 1 1 FF 100352 3 R6-to-R110.0.0.6 10.0.0.1 Up 1 1 FF 100384 3 R1-to-R6Total 2 displayed, Up 2, Down 0What It Means
Sample Output 1 from ingress router
R1shows that LSPR1-to-R6is successfully established as indicated by the Explicit Route Object (ERO)10.1.15.2 S 10.1.56.2 S, the log messageCSPF: computation result accepted, andState: Up. Also, the LSP is routing packets correctly over the red links, avoiding the blue links or the links without any coloring. See Step 3 in Configuring CSPF Tracing for information on the steps CSPF takes to select a path.Sample Output 2 from transit router
R5shows that LSPR1-to-R6is transitingR5as expected.