Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    Verify That OSPF Neighbors Are Established

    Purpose

    After configuring OSPF, you must verify that neighboring routers have formed adjacencies with each other.

    Action

    To verify OSPF neighbors, enter the following Junos OS CLI operational mode command:

    user@host> show ospf neighbor

    Sample Output

    user@R1> show ospf neighbor 
      Address         Interface             State      ID              Pri  Dead
    10.1.12.2        so-0/0/0.0             Full      10.0.0.2         128   37  
    10.1.15.2        so-0/0/1.0             Full      10.0.0.5         128   35  
    10.1.13.2        so-0/0/2.0             Full      10.0.0.3         128   38 
    
    user@R3> show ospf neighbor 
      Address         Interface             State      ID              Pri  Dead
    10.1.34.2        so-0/0/0.0             Full      10.0.0.4         128   38  
    10.1.23.1        so-0/0/1.0             Full      10.0.0.2         128   35  
    10.1.13.1        so-0/0/2.0             Full      10.0.0.1         128   37  
    10.1.36.2        so-0/0/3.0             Full      10.0.0.6         128   36 
    
    user@R6> show ospf neighbor 
      Address         Interface             State      ID              Pri  Dead
    10.1.56.1        so-0/0/0.0             Full      10.0.0.5         128   39  
    10.1.46.1        so-0/0/1.0             Full      10.0.0.4         128   37  
    10.1.26.1        so-0/0/2.0             Full      10.0.0.2         128   36  
    10.1.36.1        so-0/0/3.0             Full      10.0.0.3         128   37  
    

    Meaning

    The sample output from the ingress, transit, and egress routers shows that all routers in the network shown in MPLS Network Topology have formed OSPF neighbor adjacencies.

    Published: 2013-07-25