cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5263
Views
10
Helpful
3
Replies

OSPF Database rebuilding

bhaskarkss
Level 1
Level 1

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

3 Replies 3

samsam_wang
Level 1
Level 1

try

clear ip ospf process

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

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

Review Cisco Networking for a $25 gift card