To check if OSPF is working properly, you can follow these steps:
1. Verify that all OSPF-enabled routers are in the same area and have the same OSPF configuration.
1. Check if the OSPF process is running on each router by using the command “show ip ospf”.
1. Verify that OSPF neighbors have been established between all routers by using the command “show ip ospf neighbor”.
1. Ensure that the OSPF routers have exchanged network topology information by using the command “show ip route”.
1. Check the OSPF routing table by using the command “show ip ospf database” to verify that all OSPF routes are present and accurate.
1. Monitor OSPF messages and errors in the router log files by using the command “show logging”.
1. Verify that the OSPF network is stable and there are no flapping links by monitoring the OSPF interface status using the command “show interfaces”.
1. Test OSPF connectivity by sending ICMP packets across the network using the command “ping”.
If all of these steps show that OSPF is working properly, then there should be no issues with OSPF routing and connectivity within the network.