03-01-2004 04:53 AM - edited 03-02-2019 01:56 PM
Hi,
I have ospf running my my network well in place. I would like to specificly clear the ospf database (whole database or based on each network entry). Is there any specific command to achive this. I have 3662 router and IOS image c3660-ik8s-mz.122-17a.bin and 7507 router with ios image rsp-isv56i-mz.121-20.E1.bin.
Regards,
Zakir
03-01-2004 05:16 AM
try
clear ip ospf process
03-01-2004 05:58 AM
hi wang,
i tried but it restarts only spf calculation on existing database. But not complete database vanishes. i hope clear ip ospf process is to only reinitiate the spf calculation and rebuilding the route table but not to flush out the existing ospf database. what do you say? any work around can be appreciated.
Regards,
Zakir
03-01-2004 06:37 AM
We can't clear the OSPF database with clear ip ospf process--the problem is there's no way to resynchronize with our neighbors (well, there is, but it's not a part of the current OSPF unless you count GR implementations). The only other option is to take the ospf process out and put it back in.
router#wr
router#config t
router(config)#no router ospf xxx
router(config)#end
router#copy start run
Should do the trick, if you really want to clear it. I'll file a wish to add a keyword onto the clear ip ospf command to force an out of band synchronization if all of a router's neighbors are capable of it.
:-)
Russ.W
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide