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).

  • “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. – Darrell Root Jan 15 at 16:35
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.

| improve this answer | |
-1

or if you want to remove all routing

no ip routing

then re-enable it

ip routing

| improve this answer | |
  • 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 Jan 16 at 11:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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