Show ip ospf database – Enterasys Networks X-Pedition XSR CLI User Manual
Page 187
OSPF Debug and Show Commands
XSR CLI Reference Guide 5-111
show ip ospf database
This command displays the link state (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
EXEC or Global configuration:
XSR>
or
XSR(config)#
Sample Output
The following are sample responses:
Next hop
IP address of an interface on a neighboring router identified by the router ID
that can be reached.
Router type
Type of destination border router ‐ ABR or ASBR.
Area
ID of the area through which the route to the destination border router
identified by the router ID has been learned.
SPF number
Internal number identifying the SPF calculation that resulted in this coute’s
installation. This number usually corresponds to the number of SPF
calculations on this router for an area through which the route was learned.
link-state-id
LS identifier. Valid values are IP addresses.
asbr-summary
Selects asbr‐summary (Type 4) link status records. Type 4 LS records
are shown in their detail format. ASBR summary records are originated
by ABRs.
external
Selects external (Type 5) LS records. Type 5 LS records are shown in
detailed format. External records are originated by ASBRs.
network
Selects network (Type 2) LS records, to be shown in detailed format.
Network records are originated by designated routers.
router
Selects router (Type 1) LS records to be shown in their detailed format.
Router records are originated by all routers.
summary
Selects summary (Type 3) LS records to be shown in original format.
Summary records are originated by ABRs.
database-summary
Selects a numerical summary of the contents of the LS database
displayed.
nssa-external
Selects nssa‐external (Type 7) LS records to be shown in detailed
format. Type 7 records are originated by ASBRs.