show ip ospf database

Last Updated : Nov 06, 2012 |

Displays lists of information related to the OSPF database for a specific router. If no router type is specified, OSPF information is displayed for all routers.

Syntax

show ip ospf database [asbr-summary|router|network|network-summary|external]

Parameters

Parameter

Description

Possible Values

Default Value

asbr-summary

Keyword specifying to display information about the autonomous system boundary router summary LSAs

router

Keyword specifying to display information about the router LSAs

network

Keyword specifying to display information about the network LSAs

network-summary

Keyword specifying to display information about the network LSAs summary

external

Keyword specifying to display information about the external LSAs

User level

read-only

Context

general

Example

To display OSPF database information for all router types:

Gxxx-001(super)# show ip ospf database
Showing 1 rows
Area      Type   LSA ID        Router ID     Sequence  Age   Cksm
-------  -----  ------------  -------------  -------- ----- ------
0.0.0.0   RTR   149.49.75.71   149.49.75.71  80000001  567   139b