Command Reference Guide Enable Mode Command Set
61200510L1-35E Copyright © 2005 ADTRAN 228

show ip ospf database

Use the show ip ospf database command to display information from the open shortest path first (OSPF)

database regarding a specific router. There are several variations of this command which you can use to

obtain information about different OSPF link state advertisements. The variations are shown below:

show ip ospf
<area-id>
database
show ip ospf
<area-id>
database adv-router
<ip address>
show ip ospf
<area-id>
database database-summary
show ip ospf
<area-id>
database external
<link-state-id>
show ip ospf
<area-id>
database external
<link-state-id>
adv-router
<ip address>
show ip ospf
<area-id>
database network
<link-state-id>
show ip ospf
<area-id>
database network
<link-state-id>
adv-router
<ip address>
show ip ospf
<area-id>
database router
<link-state-id>
show ip ospf
<area-id>
database router
<link-state-id>
adv-router
<ip address>
show ip ospf
<area-id>
database summary
<link-state-id>
show ip ospf
<area-id>
database summary
<link-state-id>
adv-router
<ip address>
Syntax Description
<area id> Optional.
Displays area ID number associated with the OSPF address range. This
range is defined in the network router configuration command used to define the
particular area. Refer to

network <ip address> <wildcard> area <area id> on

page 1309

for more information.
<link-state-id> Optional.
Identifies the portion of the Internet environment that is being described by
the advertisement. The value needed in this field is tied to the advertisement’s LS
type.
<ip address> Specifies the IP address in the form <A.B.C.D>.
Default Values
No default value necessary for this command.
Applicable Platforms
This command applies to the NetVanta 300, 1000R, 2000, 3000, 4000, and 5000 and
Total Access 900 Series units.
Command History
Release 3.1 Command was introduced.