Specifications

show ip ospf neighbor
SecureStack C3 Configuration Guide 16-33
show ip ospf neighbor
UsethiscommandtodisplaythestateofcommunicationbetweenanOSPFrouterandits
neighborrouters.
Syntax
show ip ospf neighbor [detail] [ip-address] [vlan vlan-id]
Parameters
Defaults
Ifdetailisnotspecified,summaryinformationwillbedisplayed.
Ifipaddressisnotspecified,OSPFneighborswillbedisplayedforallIPaddressesconfiguredfor
routing.
Ifvlanidisnotspecified,OSPFneighborswillbedisplayedforallVLANsconfiguredforrouting.
Mode
Anyroutermode.
Example
Thisexampleshowshowtousetheshowospfneighborcommand:
C3(su)->router#show ip ospf neighbor
ID Pri State Dead-Int Address Interface
182.127.62.1 1 FULL 40 182.127.63.1 vlan1
Table 165providesanexplanationofthecommandoutput.
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-19), the ip ospf hello-
interval (“ip ospf hello-interval” on page 16-20), the ip ospf retransmit-delay (“ip
ospf transmit-delay” on page 16-19) and the ip ospf dead interval (“ip ospf dead-
interval” on page 16-21) commands.
Table 16-4 show ip ospf interface Output Details (Continued)
Output What It Displays...
detail (Optional)Displaysdetailedinformationabouttheneighbors,includingthe
areainwhichtheyareneighbors,whothedesignatedrouter/backup
designatedrouterisonthesubnet,ifapplicable,andthedecimalequivalent
oftheEbitvaluefromthehellopacketoptionsfield.
ipaddress (Optional)DisplaysOSPFneighborsforaspecific
IPaddress.
vlanvlanid (Optional)DisplaysOSPFneighborsforaspecificVLAN.ThisVLANmust
beconfiguredforIProutingasdescribedinPreRoutingConfiguration
Tasksonpage141.