Specifications

show ip ospf database
16-30 IPv4 Routing Protocol Configuration
show ip ospf database
UsethiscommandtodisplaytheOSPFlinkstatedatabase.
Syntax
show ip ospf database
Parameters
None.
Defaults
None.
Mode
Anyroutermode.
Example
ThisexampleshowshowtodisplayallOSPFlinkstatedatabaseinformation.Thisisaportionof
thecommandoutput:
C3(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
191.4.0.0 155.155.155.155 1307 0x8000003c 0x8e98
Displaying Router Link States(Area 0.0.0.8)
LinkID ADV Router Age Seq# Checksum
3.3.3.3 3.3.3.3 986 0x8000008e 0xb6f9
155.155.155.155 155.155.155.155 977 0x8000009c 0x6e96
Displaying Net Link States(Area 0.0.0.8)
LinkID ADV Router Age Seq# Checksum
192.168.30.2 155.155.155.155 310 0x8000003b 0x59ab
192.168.31.2 155.155.155.155 997 0x80000002 0xc07c
192.168.32.2 155.155.155.155 997 0x80000002 0xb586
192.168.33.2 155.155.155.155 998 0x80000002 0xaa90
Displaying Ipnet Sum Link States(Area 0.0.0.8)
LinkID ADV Router Age Seq# Checksum
0.0.0.0 3.3.3.3 361 0x80000005 0x311d
8.1.1.0 3.3.3.3 1512 0x80000003 0x3de1
8.1.2.0 3.3.3.3 1512 0x80000003 0x32eb