Use the show ip protocols command to verify the OSPF status. The output of the command reveals which routing protocols are configured on a router. It also includes routing protocol specifics such as the router ID, number of areas in the router, and networks included within the routing protocol configuration.
Figure 1 displays the OSPF settings of R1. Notice that the command shows that there are two areas. The Routing for Networks section identifies the networks and their respective areas.
Use the show ip ospf interface brief command to display concise OSPF-related information of OSPF-enabled interfaces. This command reveals useful information, such as the OSPF process ID that the interface is assigned to, the area that the interfaces are in, and the cost of the interface.
Figure 2 verifies the OSPF-enabled interfaces and the areas to which they belong.
Use the Syntax Checker in Figure 3 to verify general settings on R2 and R3.