Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

strange ospf router id

I have a 6500 running 12.1(23)E2 and I'm getting strange results with OSPF ids. I have not explicitly set the router ID, and do have a loopback configured with ospf. The strange thing is that it seems to be using an IP address for its router ID that isn't even configured on the router anywhere, and in fact is the HSRP virtual IP address of a different pair of routers.

I've tried resetting OSPF to no avail.

I'm stumped! Any ideas would be greatly appreciated.




Re: strange ospf router id

The RID it is using might be an address that was configured in the box earlier and subsequently removed. If possible, remove the OSPF config completely, reload and put it back on. If it still continues to pick up that address RID from nowhere, do a bug search on CCO for the 12.1(23)E2 code.

Pls. rate all helpful posts.



Cisco Employee

Re: strange ospf router id

An alternative way to completely reset the ospf process without reloading the box is to use the following procedure:

save your running config. (copy runn start)

remove the ospf process (no router ospf xx)

reconfigure the ospf process (config mem)

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
New Member

Re: strange ospf router id

What I actually ended up doing was:

router ospf

router-id x.x.x.x

router bgp

bgp router-id

I then cleared the ospf process and bgp

was taken care of automagically.

This seems a lower impact than either rebooting

or removing the routing processes. I never stated

this, but this was a production router.