IP ROUTING COMMANDS

show ip ospf database

Use this command to show 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-identered 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

4-273

Page 559
Image 559
SMC Networks SMC6724L3 manual Show ip ospf database, 273