knowledge sharing: OSPF Router ID seclection procedure

Nahid
Nahid  Diamond  (1)
7 years 10 months ago  View: 1335  Reply: 4
1F
When configuring an OSPF process, you can specify a router ID.


For example, you can run the ospf 1 router-id 1.1.1.1 command.


If no router ID is specified when the OSPF process is configured, the OSPF router ID is selected according to the following rules

1. If one or more loopback addresses are configured, the router ID is the loopback address with the highest IP address.
2. If no loopback address is configured, the router ID is the physical interface with the highest IP address.


Please note: If the current OSPF process is running, the router ID does not take effect immediately even if it is re-configured manually or recalculated. The router ID takes effect only after the OSPF process is restarted.
nasir007
nasir007  Gold 
7 years 10 months ago
2F
nice post.
ashrafulhakim
ashrafulhakim  Silver 
7 years 10 months ago
3F
Thanks for sharing
nazmun021
nazmun021  Gold 
7 years 10 months ago
4F
great help
jfjina
jfjina  Gold 
7 years 10 months ago
5F
good post