See Connect to SEFOS.
SEFOS-1# configure terminal SEFOS-1(config)# no router ospf SEFOS-1(config)# end
If SEFOS-2 is a third-party switch, follow the instructions that came with the switch to disable OSPF. Otherwise, follow Step 1 to disable OSPF on SEFOS-2.