cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

OSPF router-id selection


iosv-8(config-if)#do show ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 10.255.0.11 YES NVRAM up up
GigabitEthernet0/1 10.254.252.2 YES manual up up
GigabitEthernet0/2 unassigned YES unset up up
GigabitEthernet0/3 222.222.222.222 YES manual administratively down down
Loopback0 unassigned YES manual administratively down down
Loopback1 unassigned YES manual up up


iosv-8(config-if)#do clear ip ospf proc
Reset ALL OSPF processes? [no]: y
iosv-8(config-if)#
*Apr 9 18:28:49.497: %OSPF-5-ADJCHG: Process 1, Nbr 10.254.252.1 on GigabitEthernet0/1 from FULL to DOWN, Neighbor Down: Interface down or detached
*Apr 9 18:28:49.593: %OSPF-5-ADJCHG: Process 1, Nbr 10.254.252.1 on GigabitEthernet0/1 from LOADING to FULL, Loading Done


iosv-8(config-if)#do show ip pro
*** IP Routing is NSF aware ***

Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 222.222.222.222

No I did not statically configure router-id.

iosv-8(config-if)#do show run | i router
router ospf 1

It looks like OSPF router-id is the highest available IP from a loopback interface, then non-loopback interface. The interface state does not matter. Many sources state that the interface can't be admin down for its IP to be used as router-id. But it does not look like the case in IOS 15.6(2)T

Where is this change documented? I can't find in IOS 15M&T documentation how OSPF router-id is selected.

Who Me Too'd this topic