Managed Switch CLI Manual, Release 8.0.3
Routing Commands 4-71
v1.0, July 2010
show ip ospf database
This command displays information about the link state database when OSPF is enabled. If you do
not enter any parameters, the command displays the LSA headers for all areas. Use the optional
<areaid> parameter to display database information about a specific area. Use the optional
parameters to specify the type of link state advertisements to display.
Term Definition
Type The type of the route to the destination. It can be one of the following values:
intra — Intra-area route
inter — Inter-area route
Router ID Router ID of the destination.
Cost Cost of using this route.
Area ID The area ID of the area from which this route is learned.
Next Hop Next hop toward the destination.
Next Hop Intf The outgoing router interface to use when forwarding traffic to the next hop.
Parameter Description
asbr-summary Use asbr-summary to show the autonomous system boundary router (ASBR) summary
LSAs.
external Use external to display the external LSAs.
network Use network to display the network LSAs.
nssa-external Use nssa-external to display NSSA external LSAs.
opaque-area Use opaque-area to display area opaque LSAs.
opaque-as Use opaque-as to display AS opaque LSAs.
opaque-link Use opaque-link to display link opaque LSAs.
router Use router to display router LSAs.
summary Use summary to show the LSA database summary information.
adv-router Use adv-router to show the LSAs that are restricted by the advertising router.
self-originate Use self-originate to display the LSAs in that are self originated. The information
below is only displayed if OSPF is enabled