show ip ospf database
17-26 IPv4 Routing Protocol Configuration
Example
Thisî ±exampleî ±showsî ±howî ±toî ±displayî ±OSPFî ±information:
C2(su)->router#show ip ospf
Routing process "ospf 1" with ID 155.155.155.155
Supports only Normal TOS route.
It is not an area border router and is an autonomous system boundary router.
Redistributing External Routes from static
Number of areas in this router is 2
Area 0.0.0.0
SPF algorithm executed 0 times
Area ranges are
Link State Age Interval is 10
Area 0.0.0.8
SPF algorithm executed 302 times
Area ranges are
Link State Age Interval is 10
show ip ospf database
Useî ±thisî ±commandî ±toî ±displayî ±theî ±OSPFî ±linkî ±stateî ±database.î ±
Syntax
show ip ospf database
Parameters
None.
Defaults
None.î ±
Mode
Anyî ±routerî ±mode.
Example
Thisî ±exampleî ±showsî ±howî ±toî ±displayî ±allî ±OSPFî ±linkî ±stateî ±databaseî ±information.î ±Thisî ±isî ±aî ±portionî ±ofî ±
theî ±commandî ±output:
C2(su)->router#show ip ospf database
OSPF Router with ID(155.155.155.155)
Displaying Ipnet Sum Link States(Area 0.0.0.0)
LinkID ADV Router Age Seq# Checksum
192.168.16.0 155.155.155.155 1751 0x80000036 0x18a
Displaying As External Link States(Area 0.0.0.0)
LinkID ADV Router Age Seq# Checksum
191.2.2.0 155.155.155.155 1306 0x8000003c 0x9096
191.3.3.3 155.155.155.155 1306 0x8000003c 0x5bc6
191.3.3.4 155.155.155.155 1306 0x8000003c 0x51cf
191.3.3.5 155.155.155.155 1306 0x8000003c 0x47d8
191.3.3.6 155.155.155.155 1307 0x8000003c 0x3de1
191.3.3.7 155.155.155.155 1307 0x8000003c 0x33ea
191.3.3.8 155.155.155.155 1307 0x8000003c 0x29f3
191.3.3.9 155.155.155.155 1307 0x8000003c 0x1ffc