Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show (ospf | ospf3) backup lsp



Display information about MPLS label-switched-paths (LSPs) designated as backup routes for OSPF routes.


MPLS LSPs can be used as backup routes only for routes in the default OSPFv2 topology and not for any configured topology. Additionally, MPLS LSPs cannot be used as backup routes for nondefault instances either for OSPFv2 or OSPFv3.



Display information all MPLS LSPs designated as backup routes.

logical-system (all | logical-system-name)

(Optional) Display information about MPLS LSPs designated as backup routes for all logical systems or a specific logical system.

realm (ipv4-unicast | ipv6-unicast)

(Optional) (OSPFv3 only) Display information about MPLS LSPs designated as backup routes for a specific realm, or address family.

Required Privilege Level


Output Fields

Table 1 lists the output fields for the show (ospf | ospf3) backup lsp command. Output fields are listed in the approximate order in which they appear.

Table 1: show (ospf | ospf3) backup lsp Output Fields

Field Name

Field Description


Name of each MPLS LSP designated as a backup path.


IP address of the egress router for the LSP.


State of the LSP:

  • Up—The router can detect RSVP hello messages from the neighbor.

  • Down—The router has received one of the following indications:

    • Communication failure from the neighbor.

    • Communication from IGP that the neighbor is unavailable.

    • Change in the sequence numbers in the RSVP hello messages sent by the neighbor.

  • Deleted—The LSP is no longer available as a backup path.

Last change

Time elapsed since the neighbor state changed either from up or down or from down to up. The format is hh:mm:ss.


Configured traffic engineering metric.


Configured metric.

Sample Output

show ospf backup lsp

Sample Output

show ospf3 backup lsp

Release Information

Command introduced in Junos OS Release 10.0.