Command Reference Guide
SROS Command Line Interface Reference Guide Enable Mode Command Set
5991-2114 © Copyright 2005 Hewlett-Packard Development Company, L.P. 154
show ip ospf database
Use the show ip ospf database command to display information from the 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.
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. See
network <ip address> <wildcard> area <area id> on page 910
for
more information.
<link-state-id> Optional.
This ID number 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> Enter in the form <A.B.C.D>.
Default Values
No default value necessary for this command.
Command Modes
# Enable Command Mode