First, the requirement
1, using the OSPF routing table creation
2, view the OSPF neighbors
Second, the realization
1, using the OSPF routing table creation
#router ospf 1
#network 192.168.1.0 0.0.0.255 area 0
2, view the OSPF neighbors
#show ip ospf neighbor