Microsoft ES4649 Switch User Manual


 
Command Line Interface
4-284
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-id] database [adv-router [ip-address]]
show ip ospf [area-id] database [asbr-summary] [link-state-id]
show ip ospf [area-id] database [asbr-summary] [link-state-id] [adv-router [ip-address]]
show ip ospf [area-id] database [asbr-summary] [link-state-id] [self-originate] [link-state-id]
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 [external] [link-state-id] [self-originate] [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 [network] [link-state-id] [self-originate] [link-state-id]
show ip ospf [area-id] database [nssa-external] [link-state-id]
show ip ospf [area-id] database [nssa-external] [link-state-id] [adv-router [ip-address]]
show ip ospf [area-id] database [nssa-external] [link-state-id] [self-originate] [link-state-id]
show ip ospf [area-id] database [router] [link-state-id]
show ip ospf [area-id] database [[router] [adv-router [ip-address]]
show ip ospf [area-id] database [router] [self-originate] [
link-state-id]
show ip ospf [area-id] database [self-originate] [link-state-id]
show ip ospf [area-id] database [summary] [link-state-id]
show ip ospf [area-id] database [summary] [link-state-id] [adv-router [ip-address]]
show ip ospf [area-id] database [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.