Celestica Documentation Portal

Find your product documents here

show ip ospf neighbor

Displays OSPF neighbor list.

Syntaxshow ip ospf [<instance-id>] neighbor [<A.B.C.D>|detail [all]|all|<IFNAME> [detail]]
Command modeEXEC
Parameters
  • instance-id – OSPF Instance ID. Range: 1 – 65535.

  • A.B.C.D – Neighbor ID as an IP address.

  • IFNAME – Interface name (Example: Ethernet1, Vlan1, PortChannel1).

UsageNone
Supported Releases 1.1.0 or later
Click commandNone
Example
sonic# show ip ospf neighbor

Neighbor ID     Pri State           Dead Time Address         Interface                        RXmtL RqstL DBsmL
10.10.10.1        1 Full/Backup       33.481s 20.20.20.1      Ethernet8:20.20.20.2                 0     0     0


sonic# show ip ospf neighbor detail
 Neighbor 10.10.10.1, interface address 20.20.20.1
    In the area 0.0.0.0 via interface Ethernet8
    Neighbor priority is 1, State is Full, 4 state changes
    Most recent state change statistics:
      Progressive change 10m42s ago
    DR is 20.20.20.2, BDR is 20.20.20.1
    Options 2 *|-|-|-|-|-|E|-
    Dead timer due in 38.638s
    Database Summary List 0
    Link State Request List 0
    Link State Retransmission List 0
    Thread Inactivity Timer on
    Thread Database Description Retransmision off
    Thread Link State Request Retransmission on
    Thread Link State Update Retransmission on