LSP Event
CSPF failed: no route toward ip-address
Sample Output
user@R1> show mpls lsp extensive [...Output truncated...] Will be enqueued for recomputation in 3 second(s). 68 Jan 5 10:02:56 CSPF failed: no route toward 10.0.0.6 [9 times] 67 Jan 5 09:58:33 Deselected as active 66 Jan 5 09:58:33 CSPF failed: no route toward 10.0.0.6 [...Output truncated...]
Meaning
This LSP event indicates that the CSPF calculation on the ingress router R1 failed to find a route to the destination, in this case the egress router.
Cause
The CSPF calculation to the destination can fail for many reasons, and failures occur frequently. The failures include, but are not limited to:
This event always includes an address it cannot reach. The listed address may be the LSP egress address, an ERO address, or an intermediate address.
Action
Determine if the node is listed in the traffic engineering database with the show ted database detail command. If necessary, compare the LSP constraints of all links that lead to the address to determine if there is a route to the destination.
![]() |
Note: The CSPF algorithm prunes the database of links that do not comply with LSP constraints, then computes the shortest path from the remaining links. |
A ping to an address that is unreachable by CSPF follows the interior gateway protocol (IGP) shortest path, not the CSPF constraints. Therefore, using the ping command to verify the connection does not provide information about why CSPF failed.
To verify whether the problem is a constraint issue, configure your LSP with the no-cspf statement at the [edit protocols mpls label-switched-path lsp-path-name] hierarchy level, then determine if the router signals the LSP successfully. If it does, the traffic engineering database contains links that do not comply with your constraints for the LSP.
The CSPF algorithm follows these steps to select a path: