4

I'm using PacketTracer. I want to delete all OSPF settings on a router.

I used clear ip ospf process but after that when I do show ip ospf I can still see the process, its area and all interfaces of that area still exist.

I want to delete everything as if I had not tried to configure OSPF before (of course without completely erasing the router configuration, e.g. I don't want to lose my interface IP configurations).

1
  • “Clear ip ospf <process>” resets and restarts the ospf process, but does not change the configuration. It is used in troubleshooting and if you want the router-id to update based on changed configuration. Clear ip ospf <process> can be impacting in production because it resets all neighbors. Commented Jan 15, 2020 at 16:35

2 Answers 2

4

Did you try no router ospf <process number>?

That will delete the OSPF process. If you have created any interface specific OSPF configurations, you will need to deal with those individually.

0
-2

or if you want to remove all routing

no ip routing

then re-enable it

ip routing

1
  • 3
    That will not actually remove the OSPF, or any other routing configuration, so when you enable routing again, it is back to where it was.
    – Ron Maupin
    Commented Jan 16, 2020 at 11:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.