Enterasys Networks XSR CLI Router User Manual


 
OSPF Debug and Show Commands
XSR CLI Reference Guide 5-111
show ip ospf database
Thiscommanddisplaysthelinkstate(LS)database.
Syntax
show ip ospf database
show ip ospf database router [link-state-id]
show ip ospf database network [link-state-id]
show ip ospf database summary [link-state-id]
show ip ospf database asbr-summary [link-state-id]
show ip ospf database nssa-external [link-state-id]
show ip ospf database database-external [link-state-id]
show ip ospf database database-summary
Mode
EXECorGlobalconfiguration: XSR> or XSR(config)#
Sample Output
Thefollowingaresampleresponses:
Next hop
IPaddressofaninterfaceonaneighboringrouteridentifiedbytherouterID
thatcanbereached.
Router type
Typeofdestinationborderrouter‐ABRorASBR.
Area
IDoftheareathroughwhichtheroutetothedestinationborderrouter
identifiedbytherouterIDhasbeenlearned.
SPF number
InternalnumberidentifyingtheSPFcalculationthatresultedinthiscoute’s
installation.ThisnumberusuallycorrespondstothenumberofSPF
calculationsonthisrouterforanareathroughwhichtheroutewaslearned .
link-state-id
LSidentifier.ValidvaluesareIPaddresses.
asbr-summary
Selectsasbrsummary(Type4)linkstatusrecords.Type4LSrecords
areshownintheirdetailformat.ASBRsummaryrecordsareoriginated
byABRs.
external
Selectsexternal(Type5)LSrecords.Type5LSrecordsareshownin
detailedformat.ExternalrecordsareoriginatedbyASBRs.
network
Selectsnetwork(Type2)LSrecords,tobeshownindetailedformat.
Networkrecordsareoriginatedbydesignatedrouters.
router
Selectsrouter(Type1)LSrecordstobeshownintheirdetailedformat.
Routerrecordsareoriginatedbyallrouters.
summary
Selectssummary(Type3)LSrecordstobeshowninoriginalformat.
SummaryrecordsareoriginatedbyABRs.
database-summary
SelectsanumericalsummaryofthecontentsoftheLSdatabase
displayed.
nssa-external
Selectsnssaexternal(Type7)LSrecordstobeshownindetailed
format.Type7recordsareoriginatedbyASBRs.