Information Commands 43
OSPF Database information
NOTE: OSPF commands are available only on the GbE2c Layer 2/3 Ethernet Blade Switch.
The following table describes the OSPF Database information commands.
Table 33 OSPF Database information commands
Command Usage
show ip ospf database advertising-router
<router ID>
Takes advertising router as a parameter. Displays all the Link
State Advertisements (LSAs) in the LS database that have the
advertising router with the specified router ID, for example:
20.1.1.1.
Command mode: All except User EXEC
show ip ospf database asbr-summary
[advertising-router <router ID> |link-
state-id <A.B.C.D> | self]
Displays ASBR summary LSAs. The usage of this command is
as follows:
a. asbrsum adv-rtr 20.1.1.1 displays ASBR summary
LSAs having the advertising router 20.1.1.1.
b. asbrsum link_state_id 10.1.1.1 displays ASBR
summary LSAs having the link state ID 10.1.1.1.
c. asbrsum self displays the self advertised ASBR
summary LSAs.
d. asbrsum with no parameters displays all the ASBR
summary LSAs.
Command mode: All except User EXEC
show ip ospf database database-summary
Displays the following information about the LS database in a
table format:
a. The number of LSAs of each type in each area.
b. The total number of LSAs for each area.
c. The total number of LSAs for each LSA type for all
areas combined.
d. The total number of LSAs for all LSA types for all
areas combined.
No parameters are required.
Command mode: All except User EXEC
show ip ospf database external
[advertising-router <router ID> |link-
state-id <A.B.C.D> | self]
Displays the AS-external (type 5) LSAs with detailed
information of each field of the LSAs.
Command mode: All except User EXEC
show ip ospf database network
[advertising-router <router ID> |link-
state-id <A.B.C.D> | self]
Displays the network (type 2) LSAs with detailed information
of each field of the LSA.network LS database.
Command mode: All except User EXEC
show ip ospf database nssa [advertising-
router <router ID> |link-state-id
<A.B.C.D> | self]
Displays the NSSA (type 7) LSAs with detailed information of
each field of the LSAs.
Command mode: All except User EXEC
show ip ospf database router
[advertising-router <router ID> |link-
state-id <A.B.C.D> | self]
Displays the router (type 1) LSAs with detailed information of
each field of the LSAs.
Command mode: All except User EXEC
show ip ospf database self
Displays all the self-advertised LSAs. No parameters are
required.
Command mode: All except User EXEC
show ip ospf database summary
[advertising-router <router ID> |
linkstate-id <A.B.C.D> | self]
Displays the network summary (type 3) LSAs with detailed
information of each field of the LSAs.
Command mode: All except User EXEC
show ip ospf database
Displays all the LSAs.
Command mode: All except User EXEC