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,non‐broadcast,point‐to‐
point,andpoint‐to‐multipoint.Refertothe
ip ospf network
commandformoreinformationaboutnetworktype.
Cost OSPFinterfacecost.Thisvalueiseitherthedefaultorassignedby
meansofthe
ip ospf cost command.
Transmitdelay NumberinsecondsaddedtotheLSAagefieldatthetimeofLSA
transmission.
State Interfacestate‐notstatebetweenneighbors.Validvalues:DR,BDR,
Drother,point‐to‐point,point‐to‐multipoint,down,backup,loopback.
Priority Interfacepriorityvalue.Refertothe
ip ospf prioritycommandfor
moreinformationonpriority.
DesignatedRouterid RouterIDofthedesignatedrouteronthissubnetifaDRexists.
Interfaceaddr AddressofthedesignatedrouterʹsinterfacetothissubnetifaDRexists.
Timerintervals
configured
Referstothe
ip ospf hello-interval andip ospf dead-interval
commandsforhelloanddeadintervalvalues.Thewaittimerrepresents
theperiodthatarouterwaitsbeforeinitiatinga designatedrouter/
backuprouterelection.Thewaittimerchangeswhenthedeadinterval
changes.Retransmittimerrepresentstheperiodbetweensuccessive
transmissionsofLSAsuntilacknowledgementisreceived.
Neighborcount Sumof
neighborsovertheinterface.
Adjacentneighborcount Sumofadjacent(FULLstate)neighborsonthisport.
secondary SpecifiedsecondaryIPaddress.
type
Interfacetypeoftheselectedinterface.Validinterfacetypesare
interfacesthatexistonthisrouter.
number
Interfacenumberoftheselectedinterface.Validvaluescorrespondto
thenumberofaparticularinterfacetypepresentonthisrouter.
neighbor-id
RouterIDoftheneighborrouterthattheselectedportison.
detail
Displaysmoredataaboutneighborsincludingtheareainwhichthey
areneighbors,whothedesignatedrouter/backuprouterisonthe
subnetifapplicable,andthedecimalequivalentoftheE‐bitvaluefrom
thehellopacketoptionsfield.