Step 2: Display Extensive Status About the LSP
Purpose
Display extensive information about LSPs, including all past state history and the reasons why an LSP might have failed.
Action
To display extensive information about LSPs, on the ingress router, enter the following JUNOS CLI operational mode command:
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*PrimaryState: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.291 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 Up88 Aug 17 12:22:52 Originate Call87 Aug 17 12:22:52 CSPF: computation result accepted86 Aug 17 12:22:23 CSPF failed: no route toward 10.0.0.6[13920 times]85 Aug 12 19:12:51 Clear Call84 Aug 12 19:12:50 10.1.56.2: MPLS label allocation failure83 Aug 12 19:12:47 Deselected as active82 Aug 12 19:12:47 10.1.56.2: MPLS label allocation failure81 Aug 12 19:12:47 ResvTear received80 Aug 12 19:12:47 Down79 Aug 12 19:12:31 10.1.56.2: MPLS label allocation failure[4 times]78 Aug 12 19:09:58 Selected as active path77 Aug 12 19:09:58 Record Route: 10.1.15.2 10.1.56.276 Aug 12 19:09:58 Up75 Aug 12 19:09:57 Originate Call74 Aug 12 19:09:57 CSPF: computation result accepted73 Aug 12 19:09:29 CSPF failed: no route toward 10.0.0.6[11 times]72 Aug 12 19:04:36 Clear Call71 Aug 12 19:04:23 Deselected as active70 Aug 12 19:04:23 ResvTear received69 Aug 12 19:04:23 Down68 Aug 12 19:04:23 CSPF failed: no route toward 10.0.0.667 Aug 12 19:04:23 10.1.15.2: Session preempted66 Aug 12 16:45:35 Record Route: 10.1.15.2 10.1.56.265 Aug 12 16:45:35 Up64 Aug 12 16:45:35 Clear Call63 Aug 12 16:45:35 CSPF: computation result accepted62 Aug 12 16:45:35 ResvTear received61 Aug 12 16:45:35 Down60 Aug 12 16:45:35 10.1.13.2: Session preempted59 Aug 12 14:50:52 Selected as active path58 Aug 12 14:50:52 Record Route: 10.1.13.2 10.1.36.257 Aug 12 14:50:52 Up56 Aug 12 14:50:52 Originate Call55 Aug 12 14:50:52 CSPF: computation result accepted54 Aug 12 14:50:23 CSPF failed: no route toward 10.0.0.6[7 times]53 Aug 12 14:47:22 Deselected as active52 Aug 12 14:47:22 CSPF failed: no route toward 10.0.0.651 Aug 12 14:47:22 Clear Call50 Aug 12 14:47:22 CSPF: link down/deleted 10.1.12.1(R1.00/10.0.0.1)->10.1.12.2(R2.00/10.0.0.2)49 Aug 12 14:47:22 CSPF: link down/deleted 10.1.15.1(R1.00/10.0.0.1)->10.1.15.2(R5.00/10.0.0.5)48 Aug 12 14:47:22 10.1.15.1: MPLS label allocation failure47 Aug 12 14:47:22 Clear Call46 Aug 12 14:47:22 CSPF: computation result accepted45 Aug 12 14:47:22 10.1.12.1: MPLS label allocation failure44 Aug 12 14:47:22 MPLS label allocation failure43 Aug 12 14:47:22 Down42 Jul 23 11:27:21 Selected as active pathCreated: Sat Jul 1018: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: 141, 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) 130 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 is from the ingress router (
R1), and shows ingress, egress, and transit LSP information in detail, including all past state history and the reasons why an LSP failed. Ingress information is for sessions that originate from this router, egress information is for sessions that terminate on this router, and transit information is for sessions that transit through this router.There is one ingress route from
R1(10.0.0.1) toR6(10.0.0.6). This route is currently up (State), with one route actively using the LSP,R1-to-R6. The LSP active path is the primary path. Even if the LSP does not contain aprimaryorsecondarykeyword, the router still treats the LSP as a primary LSP, indicating that if the LSP fails, the router will attempt to signal inactive LSPs at 30-second intervals, by default.Load balancing is
Random, which is the default, indicating that when selecting the physical path for an LSP, the router randomly selects among equal-cost paths that have an equal hop count. Other options that you can configure areLeast-fillandMost-fill.Least-fillplaces the LSP over the least utilized link of the equal-cost paths with equal hop count.Most-fillplaces the LSP over the most utilized link of the equal-cost paths sharing an equal hop count. Utilization is based on the percentage of available bandwidth.The
Encoding typefield shows Generalized MPLS (GMPLS) signaling parameters (Packet), indicating IPv4. TheSwitching typeisPacket, and the Generalized Payload Identifier (GPID) is IPv4.The primary path is the active path, as indicated by an asterisk (*). The state of the LSP is
Up.The Explicit Route Object (
ERO) includes the Constrained Shortest Path First (CSPF) cost (20) for the physical path that the LSP follows. The presence of the CSPF metric indicates that this is a CSPF LSP. The absence of the CSPF metric indicates a no-CSPF LSP.The field
10.1.13.2 Sindicates the actual ERO. The RSVP signaling messages went to10.1.13.2strictly (as a next hop) and finished at10.1.36.2strictly. All ERO addresses are strict hops when the LSP is a CSPF LSP. Loose hops can only display in a no-CSPF LSP.The received Record Route Object (
RRO) has the following protection flags:
0x01—Local protection available. The link downstream of this node is protected by a local repair mechanism. This flag can only be set if the Local protection flag was set in the SESSION_ATTRIBUTE object of the corresponding path message.0x02—Local protection in use. A local repair mechanism is in use to maintain this tunnel (usually because of an outage of the link it was routed over previously).0x04— Bandwidth protection. The downstream router has a backup path providing the same bandwidth guarantee as the protected LSP for the protected section.0x08—Node protection. The downstream router has a backup path providing protection against link and node failure on the corresponding path section. If the downstream router can set up only a link-protection backup path, the "Local protection available" bit is set but the "Node protection" bit is cleared.0x10—Preemption pending. The preempting node sets this flag if a pending preemption is in progress for the traffic engineered LSP. This indicates to the ingress label edge router (LER) of this LSP that it should be rerouted.For more information on protection flags, see the JUNOS Routing Protocols and Policies Command Reference.
The field
10.1.13.2.10.1.36.2is the actual received record route (RRO). Note that the addresses in theRROfield match those in theEROfield. This is the normal case for CSPF LSPs. If the RRO and ERO addresses do not match for a CSPF LSP, the LSP has to reroute or detour.The lines numbered 91 through 42 contain the 49 most recent entries to the history log. Each line is time stamped. The most recent entries have the largest log history number and are at the top of the log, indicating that line 91 is the most recent history log entry. When you read the log, start with the oldest entry (
42) to the most recent (91).The history log was started on July 10, and displays the following sequence of activities: an LSP was selected as active, was found to be down, MPLS label allocation failed several times, was deleted several times, was preempted because of an ResvTear, was deselected as active, and was cleared. In the end, the router computed a CSPF ERO, signaled the call, the LSP came up with the listed RRO (line 90), and was listed as active.
For more information on error messages, see the JUNOS MPLS Network Operations Guide Log Reference.
The total number of ingress LSPs displayed is
1, with1up and0down. The number in theUpfield plus the number in theDownfield should equal the total.There is one egress LSP session from
R6toR1. TheStateis up, with no routes installed in the routing table. RSVP reservation style (Style) consists of two parts. The first is the number of active reservations (1). The second is the reservation style, which isFF(fixed filter). The reservation style can beFF,SE(shared explicit), orWF(wildcard filter). There are three incoming labels (Labelin) and no labels going out (Labelout) for this LSP.For more information on checking the LSP state, see Working with the Layered MPLS Troubleshooting Model.