How to setup OSPF routing :
How to view what protocols is running:
show ip protocols
how to kill rip protocols (if exists)
configure terminal
no router rip
How create OSPF protocols
configure terminal
router ospf 1 [ here 1 is the process id, which has to be same to every router in the organization ]
network 192.168.1.1 0.0.0.0 area 0
Or
network 192.168.1.0 [...]