Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show (ospf | ospf3) backup spf


Syntax (QFX Series)


Display information about OSPF shortest-path-first calculations for backup paths.



Display information about OSPF shortest-path-first (SPF) calculations for all backup paths for all destination nodes.

brief | detail

(Optional) Display the specified level of output.

area area-id

(Optional) Display the area information.

instance instance-name

(Optional) Display information about the routing instance.

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

(Optional) Display information about all logical systems or a specific logical system.


(Optional) Display information if there is no backup coverage.


(Optional) Display information about the node specified.

realm (ipv4–unicast | ipv6–unicast)

(Optional) Display information about the ipv4 or ipv6 realm.

topology (default | ipv4-multicast | topology-name)

(Optional) (OSPFv2 only) Display information about the default topology, IPv4 multicast topology, or a specifc topology.

Required Privilege Level


Output Fields

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

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

Field Name

Field Description

Level of Output

Area area-id results

Area for which the results are displayed. Area is the backbone area.

All levels


Address of the node for which the results are displayed.

All levels

Self to Destination Metric

Metric from the node to the destination.

All levels

Parent Node

Address of the parent node.

All levels

Primary next-hop

Address of the next hop.

All levels

Backup Neighbor

Address of the backup neighbor or LSP endpoint and the following information:

  • Neighbor to Destination Metric

  • Neighbor to Self Metric

  • Self to Neighbor Metric

  • Status (Eligible, Not Eligible, Not Evaluated) and the reason for the status.


If the backup neighbor is an LSP endpoint, it is indicated as such after the neighbor address.

All levels

Sample Output

show ospf backup spf

Release Information

Command introduced in Junos OS Release 10.0.