Command Reference Guide

Error! Use the Home tab to apply 見出し 1 to the text that you want to appear here. 43
OSPF Database information
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.
Command mode: All
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. show ip ospf database asbr-summary
advertising-router 20.1.1.1 displays ASBR
summary LSAs having the advertising router
20.1.1.1.
b. show ip ospf database asbr-summary
link_state_id 10.1.1.1 displays ASBR summary
LSAs having the link state ID 10.1.1.1.
c. show ip ospf database asbr-summary self
displays the self advertised ASBR summary LSAs.
d. this command with no parameters displays all
the ASBR summary LSAs.
Command mode: All
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.
Command mode: All
show ip ospf database network
[advertising-router <router ID> |link-
state-id <A.B.C.D> | self]
Displays the network (type 2) LSAs.
Command mode: All
show ip ospf database nssa [advertising-
router <router ID> |link-state-id
<A.B.C.D> | self]
Displays the NSSA (type 7) LSAs.
Command mode: All
show ip ospf database router
[advertising-router <router ID> |link-
state-id <A.B.C.D> | self]
Displays the router (type 1) LSAs.
Command mode: All
show ip ospf database self
Displays all the self-advertised LSAs.
Command mode: All
show ip ospf database summary
[advertising-router <router ID> |
linkstate-id <A.B.C.D> | self]
Displays the network summary (type 3) LSAs.
Command mode: All
show ip ospf database
Displays all the LSAs.
Command mode: All