show ip ospf neighbor
16-28 IPv4 Routing Protocol Configuration
show ip ospf neighbor
UsethiscommandtodisplaythestateofcommunicationbetweenanOSPFrouterandits
neighborrouters.
Syntax
show ip ospf neighbor [detail] [ip-address] [vlan vlan-id]
Parameters
Defaults
Ifdetailisnotspecified,summaryinformationwillbedisplayed.
Table 16-4 show ip ospf interface Output Details
Output Field What It Displays...
Vlan VLAN ID
Internet Address IP address and mask assigned to this interface.
Area Area ID
Router ID Router ID configured on this router.
Cost OSPF interface cost, which is either default, or assigned with the ip ospf cost
command. For details, refer to “ip ospf cost” on page 16-14.
Transmit Delay The number (in seconds) added to the LSA (Link State Advertisement) age field.
State The interface state (versus the state between neighbors). Valid values include
Backup Designated Router, Designated Router, and Err for error.
Priority The interface priority value, which is either default, or assigned with the ip ospf
priority command. For details, refer to “ip ospf priority” on page 16-14.
Designated Router
id
The router ID of the designated router on this subnet, if one exists, in which case Err
will be displayed.
Interface Addr IP address of the designated router on this interface.
Backup Designated
Router id
IP address of the backup designated router on this interface, if one exists, in which
case Err will be displayed.
Timer intervals
configured
OSPF timer intervals. These are either default, or configured with the ip ospf
retransmit-interval (“ip ospf retransmit-interval” on page 16-16), the ip ospf hello-
interval (“ip ospf hello-interval” on page 16-17), the ip ospf retransmit-delay (“ip
ospf transmit-delay” on page 16-16) and the ip ospf dead interval (“ip ospf dead-
interval” on page 16-17) commands.
detail (Optional)Displaysdetailedinformationabouttheneighbors,includingthe
areainwhichtheyareneighbors,whothedesignatedrouter/backup
designatedrouterisonthesubnet,ifapplicable,andthedecimalequivalent
oftheE‐bitvaluefromthehellopacketoptionsfield.
ip‐address (Optional)DisplaysOSPFneighborsforaspecific
IPaddress.
vlanvlan‐id (Optional)DisplaysOSPFneighborsforaspecificVLAN.ThisVLANmust
beconfiguredforIProutingasdescribedin“Pre‐RoutingConfiguration
Tasks”onpage14‐1.