OSPF Debug and Show Commands
5-120 Configuring the Internet Protocol

show ip ospf neighbor

Thiscommanddisplaysthestateofcommunicationbetweenthisrouteranditsneighborrouters.
Syntax
show ip ospf neighbor [type number] [neighbor-id] [detail]
Mode
EXECorGlobalconfiguration: XSR> or XSR(config)#
Networktype OSPFnetworktype.Valuescanbebroadcast,nonbroadcast,pointto
point,andpointtomultipoint.Refertothe ip ospf network
commandformoreinformationaboutnetworktype.
Cost OSPFinterfacecost.Thisvalueiseitherthedefaultorassignedby
meansofthe ip ospf cost command.
Trans m itdelay NumberinsecondsaddedtotheLSAagefieldatthetimeofLSA
transmission.
State Interfacestate‐notstatebetweenneighbors.Validvalues:DR,BDR,
Drother,pointtopoint,pointtomultipoint,down,backup,loopback.
Priority Interfacepriorityvalue.Refertotheip ospf prioritycommandfor
moreinformationonpriority.
DesignatedRouterid RouterIDofthedesignatedrouteronthissubnetifaDRexists.
Interfaceaddr AddressofthedesignatedrouterʹsinterfacetothissubnetifaDRexists.
Timerintervals
configured
Referstothe ip ospf hello-interval andip ospf dead-interval
commandsforhelloanddeadintervalvalues.Thewaittimerrepresents
theperiodthatarouterwaitsbeforeinitiatingadesignatedrouter/
backuprouterelection.Thewaittimerchangeswhenthedeadinterval
changes.Retransmittimerrepresentstheperiodbetweensuccessive
transmissionsofLSAsuntilacknowledgementisreceived.
Neighborcount Sumofneighborsovertheinterface.
Adjacentneighborcount Sumofadjacent(FULLstate)neighborsonthisport.
secondary SpecifiedsecondaryIPaddress.
type Interfacetypeoftheselectedinterface.Validinterfacetypesare
interfacesthatexistonthisrouter.
number Interfacenumberoftheselectedinterface.Validvaluescorrespondto
thenumberofaparticularinterfacetypepresentonthisrouter.
neighbor-id RouterIDoftheneighborrouterthattheselectedportison.
detail Displaysmoredataaboutneighborsincludingtheareainwhichthey
areneighbors,whothedesignatedrouter/backuprouterisonthe
subnetifapplicable,andthedecimalequivalentoftheEbitvaluefrom
thehellopacketoptionsfield.