Show IP OSPF Interface Brief
This command gives a brief summary of what interface is currently configured with ospf on the router, as well as the ip address and subnet mask of that interface.
Router#show ip ospf interface brief
Here is the output of show ip interface brief on R3.
R3#show ip ospf interface brief Interface PID Area IP Address/Mask Cost State Nbrs F/C Fa0/0 1 0 10.2.2.3/24 1 BDR 1/1 Lo0 1 0 220.127.116.11/32 1 LOOP 0/0 R3#