Running the reset ospf command will tear down the OSPF adjacency relationship between two switches. Therefore, confirm the action before you use the command.
To reset OSPF connections, run the following command in the user view.
Procedure
Run the reset ospf [ process-id ] process [ flush-waiting-timertime | graceful-restart ] command to restart the OSPF process.