Microsoft ES4612 User Manual

Page of 666
Command Line Interface
4-280
4
show ip ospf database
This command shows information about different OSPF Link State Advertisements 
(LSAs) stored in this router’s database.
Syntax 
show ip ospf [area-iddatabase [adv-router [ip-address]]
show ip ospf [area-iddatabase [asbr-summary] [link-state-id]
show ip ospf [area-iddatabase [asbr-summary] [link-state-id] [adv-router [ip-address]]
show ip ospf [area-iddatabase [asbr-summary] [link-state-id] [self-originate] [link-state-id]
show ip ospf [area-iddatabase [database-summary]
show ip ospf [area-iddatabase [external] [link-state-id]
show ip ospf [area-iddatabase [external] [link-state-id] [adv-router [ip-address]]
show ip ospf [area-iddatabase [external] [link-state-id] [self-originate] [ip-address]
show ip ospf [area-iddatabase [network] [link-state-id]
show ip ospf [area-iddatabase [network] [link-state-id] [adv-router [ip-address]]
show ip ospf [area-iddatabase [network] [link-state-id] [self-originate] [link-state-id]
show ip ospf [area-iddatabase [nssa-external] [link-state-id]
show ip ospf [area-iddatabase [nssa-external] [link-state-id] [adv-router [ip-address]]
show ip ospf [area-iddatabase [nssa-external] [link-state-id] [self-originate] [link-state-id]
show ip ospf [area-iddatabase [router] [link-state-id]
show ip ospf [area-iddatabase [[router] [adv-router [ip-address]]
show ip ospf [area-iddatabase [router] [self-originate] [link-state-id]
show ip ospf [area-iddatabase [self-originate] [link-state-id]
show ip ospf [area-iddatabase [summary] [link-state-id]
show ip ospf [area-iddatabase [summary] [link-state-id] [adv-router [ip-address]]
show ip ospf [area-iddatabase [summary] [link-state-id] [self-originate] [link-state-id]
• area-id - Area defined for which you want to view LSA information. 
(This item must be entered in the form of an IP address.)
• adv-router - IP address of the advertising router. If not entered, information 
about all advertising routers is displayed.
• ip-address - IP address of the specified router. If no address is entered, 
information about the local router is displayed.
• asbr-summary - Shows information about Autonomous System Boundary 
Router summary LSAs.
• link-state-id - The network portion described by an LSA. The link-state-id 
entered should be: 
- An IP network number for Type 3 Summary and External LSAs
- A Router ID for Router, Network, and Type 4 AS Summary LSAs
Also, note that when an Type 5 ASBR External LSA is describing a default 
route, its link-state-id is set to the default destination (0.0.0.0).
• self-originate - Shows LSAs originated by this router.
• database-summary - Shows a count for each LSA type for each area 
stored in the database, and the total number of LSAs in the database.
• external - Shows information about external LSAs.
• network - Shows information about network LSAs.
• nssa-external - Shows information about NSSA external LSAs.
• router - Shows information about router LSAs.
• summary - Shows information about summary LSAs.