OSPF is a link-state routing protocol that establishes neighbor relationships using hello packets. It floods link state advertisements (LSAs) throughout an area to build a link-state database and calculates the shortest path to each destination using the SPF algorithm. Routers can be configured for a single OSPF area using the network address and router ospf commands. Neighbor adjacencies are verified using show commands and debugging can help troubleshoot OSPF issues.