Using the appearance ip ospf database Command
Using the appearance ip ospf database command will accord you advice about the number
of routers in the internetwork (AS) additional the adjoining router’s ID, and it is the topology
database I mentioned earlier. Unlike the appearance ip eigrp topogogy command, this command
shows the OSPF routers, not anniversary and every articulation in the AS like EIGRP does.
The achievement is burst bottomward by area. Here’s some sample output, afresh from Corp:
Corp#sh ip ospf database
OSPF Router with ID (10.1.5.1) (Process ID 132)
Router Articulation States (Area 0)
Link ID ADV Router Age Seq# Checksum Articulation count
10.1.5.1 10.1.5.1 72 0x80000002 0x00F2CA 9
10.1.7.1 10.1.7.1 83 0x80000004 0x009197 6
10.1.9.1 10.1.9.1 73 0x80000001 0x00DA1C 4
10.1.11.1 10.1.11.1 67 0x80000005 0x00666A 4
10.1.12.1 10.1.12.1 67 0x80000004 0x007631 2
Net Articulation States (Area 0)
Link ID ADV Router Age Seq# Checksum
10.1.11.2 10.1.12.1 68 0x80000001 0x00A337
You can see all bristles routers and the RID of anniversary router (the accomplished IP abode on each
router). The router achievement shows the articulation ID—remember that an interface is additionally a link—and
the RID of the router on that articulation beneath the ADV router (or announcement router).