# show ip ospf database

#### Syntax

show ip ospf database [ vrf vrfName ] [ database-summary | area areaId | areaIdInt | { asbr-summary | external | network | nssa-external | router | summary | opaque-area | link-local } [ ipAddress | internal ] ] [ filter ]

#### Release Information

Command introduced before JunosE Release 7.1.0.
areaId and areaIdInt variables added in JunosE Release 7.3.0.

#### Description

Displays the full IP OSPF database, a summary of the database, the number of LSAs available in each category, or the number of LSAs that have reached the maximum age in each category.

#### Options

- vrfName—Name of the VRF
- database-summary—Displays summary of the database
- areaId—Area ID as an IP address
- areaIdInt—Area ID as an integer
- asbr-summary—Displays AS boundary router summary link states
- external—Displays External link states
- network—Displays network link states
- nssa-external—Displays NSSA external link states
- router—Displays router link states
- summary—Displays network summary link states
- opaque-area—Displays traffic-engineering opaque LSA states
- link-local—Displays link local link states
- ipAddress—Link-state IP address
- internal—Displays internal LSA information
- filter—See Filtering show Commands

#### Mode

Privileged Exec, User Exec