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 OSPF Neighbors

    Purpose

    After you have checked OSPF interfaces, check your network topology to determine that all relevant neighbors are established.

    Action

    To verify OSPF neighbors, enter the following commands from the ingress, transit, and egress routers:

    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   39  
    10.1.15.2        so-0/0/1.0             Full      10.0.0.5         128   39  
    10.1.13.2        so-0/0/2.0             Full      10.0.0.3         128   33  
    
    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   33  
    10.1.23.1        so-0/0/1.0             Full      10.0.0.2         128   33  
    10.1.13.1        so-0/0/2.0             Full      10.0.0.1         128   33  
    10.1.36.2        so-0/0/3.0             Full      10.0.0.6         128   33  
    
    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   30  
    10.1.46.1        so-0/0/1.0             Full      10.0.0.4         128   38  
    10.1.26.1        so-0/0/2.0             Full      10.0.0.2         128   34  
    10.1.36.1        so-0/0/3.0             Full      10.0.0.3         128   35 
    

    Meaning

    The sample output shows that all neighbors are fully adjacent, indicating that each router has exchanged a full copy of its link-state database with the other routers, passed through several neighbor states, and become fully adjacent. These adjacencies are created by router link and network link advertisements.

    Published: 2013-07-25