Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show (ospf | ospf3) backup spf

    Syntax

    show (ospf | ospf3) backup spf <brief | detail><area area-id><instance instance-name><logical-system (all | logical-system-name><no-coverage><node-id><realm (ipv4–unicast | ipv6–unicast)><topology (default | ipv4-multicast | topology-name)>

    Syntax (QFX Series)

    show (ospf | ospf3) backup spf <brief | detail><area area-id><instance instance-name><no-coverage><node-id><topology (default | ipv4-multicast | topology-name)>

    Release Information

    Command introduced in JUNOS Release 10.0.

    Command introduced in Junos OS Release 11.3 for the QFX Series.

    Description

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

    Options

    none
    —

    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.

    no-coverage
    —

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

    node-id
    —

    (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

    view

    List of Sample Output

    show ospf backup spf
    show ospf backup spf detail
    show ospf3 backup spf

    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 0.0.0.0 is the backbone area.

    All levels

    address

    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.

    Note: 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

    user@host> show ospf backup spf
    Topology default results:
    
    Area 0.0.0.0 results:
    
    pro16-d-lo0.xxx.yyyy.net
      Self to Destination Metric: 1
      Parent Node: pro16-b-lo0.xxx.yyyy.net
      Primary next-hop: at-1/0/1.0
      Backup Neighbor: pro16-c-lo0.xxx.yyyy.net (LSP endpoint)
        Neighbor to Destination Metric: 4, Neighbor to Self Metric: 3
        Self to Neighbor Metric: 3
        Not eligible, Reason: Path loops
      Backup Neighbor: pro16-d-lo0.xxx.yyyy.net
        Neighbor to Destination Metric: 0, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      ...
    
    

    show ospf backup spf detail

    user@host> show ospf backup spf detail
    Topology default results:
    
    Area 0.0.0.0 results:
    
    11.14.10.2
      Self to Destination Metric: 1
      Parent Node: 10.255.70.103
      Primary next-hop: ae0.0
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 2, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 15, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
    
    10.255.71.52
      Self to Destination Metric: 1
      Parent Node: 11.14.10.2
      Primary next-hop: ae0.0 via 11.14.10.2
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 0, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 2, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
    
    10.255.71.242
      Self to Destination Metric: 1
      Parent Node: 10.255.70.103
      Primary next-hop: as0.0
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 0, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 2, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
    
    10.255.71.243
      Self to Destination Metric: 1
      Parent Node: 10.255.70.103
      Primary next-hop: so-6/0/0.0
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 0, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
    
    12.15.0.1
      Self to Destination Metric: 2
      Parent Node: 10.255.71.243
      Primary next-hop: so-6/0/0.0
      Backup next-hop: ae0.0 via 11.14.10.2
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 1, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Eligible, Reason: Contributes backup next-hop
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 17, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not evaluated, Reason: Interface is already covered
    
    10.255.71.238
      Self to Destination Metric: 2
      Parent Node: 10.255.71.243
      Primary next-hop: so-6/0/0.0
      Backup next-hop: as0.0
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 1, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 15, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Eligible, Reason: Contributes backup next-hop
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not evaluated, Reason: Interface is already covered
    
    10.255.71.239
      Self to Destination Metric: 2
      Parent Node: 12.15.0.1
      Primary next-hop: so-6/0/0.0
      Backup next-hop: ae0.0 via 11.14.10.2
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 1, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 15, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Eligible, Reason: Contributes backup next-hop
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not evaluated, Reason: Interface is already covered
    
    14.15.0.2
      Self to Destination Metric: 3
      Parent Node: 10.255.71.239
      Primary next-hop: so-6/0/0.0          
      Backup next-hop: ae0.0 via 11.14.10.2
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 2, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 15, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Eligible, Reason: Contributes backup next-hop
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 17, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not evaluated, Reason: Interface is already covered
    

    show ospf3 backup spf

    user@host> show ospf3 backup spf
    Area 0.0.0.0 results:
    
    10.255.71.52;0.0.0.5
      Self to Destination Metric: 1
      Parent Node: 10.255.70.103
      Primary next-hop: ae0.0
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 2, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 15, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
    
    10.255.71.52
      Self to Destination Metric: 1
      Parent Node: 10.255.71.52;0.0.0.5
      Primary next-hop: ae0.0 via fe80::290:69ff:fe0f:67f0
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 0, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 2, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
    
    10.255.71.242
      Self to Destination Metric: 1
      Parent Node: 10.255.70.103
      Primary next-hop: as0.0
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 0, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 2, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
    
    10.255.71.243
      Self to Destination Metric: 1
      Parent Node: 10.255.70.103
      Primary next-hop: so-6/0/0.0
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 0, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not eligible, Reason: Path loops
    
    10.255.71.243;0.0.0.2
      Self to Destination Metric: 2
      Parent Node: 10.255.71.243
      Primary next-hop: so-6/0/0.0
      Backup next-hop: ae0.0 via fe80::290:69ff:fe0f:67f0
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 1, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Eligible, Reason: Contributes backup next-hop
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 17, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not evaluated, Reason: Interface is already covered
    
    10.255.71.238
      Self to Destination Metric: 2
      Parent Node: 10.255.71.243
      Primary next-hop: so-6/0/0.0
      Backup next-hop: as0.0
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 1, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 15, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Eligible, Reason: Contributes backup next-hop
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not evaluated, Reason: Interface is already covered
    
    10.255.71.239
      Self to Destination Metric: 2
      Parent Node: 10.255.71.243;0.0.0.2
      Primary next-hop: so-6/0/0.0
      Backup next-hop: ae0.0 via fe80::290:69ff:fe0f:67f0
      Backup Neighbor: 10.255.71.243
        Neighbor to Destination Metric: 1, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 15, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Eligible, Reason: Contributes backup next-hop
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 16, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not evaluated, Reason: Interface is already covered
    
    10.255.71.239;0.0.0.4
      Self to Destination Metric: 3
      Parent Node: 10.255.71.239
      Primary next-hop: so-6/0/0.0
      Backup next-hop: ae0.0 via fe80::290:69ff:fe0f:67f0
      Backup Neighbor: 10.255.71.243        
        Neighbor to Destination Metric: 2, Neighbor to Self Metric: 1
        Self to Neighbor Metric: 1
        Not eligible, Reason: Primary next-hop link fate sharing
      Backup Neighbor: 10.255.71.52
        Neighbor to Destination Metric: 15, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Eligible, Reason: Contributes backup next-hop
      Backup Neighbor: 10.255.71.242
        Neighbor to Destination Metric: 17, Neighbor to Self Metric: 15
        Self to Neighbor Metric: 1
        Not evaluated, Reason: Interface is already covered
    

    Published: 2013-03-14