router-id

Specifies the OSPF router ID. This ID must be established in every OSPF instance. If not explicitly configured, the highest logical IP address is duplicated as the router identifier. However, since the router identifier is not an IP address, it does not have to be a part of any routable subnet in the network.

Supported in the following platforms:

Syntax

router-id <IP>

Parameters

router-id <IP>
<IP> Identifies the OSPF router by its IP address
  • <IP> – Specify the router ID in the IP <A.B.C.D> format

Examples

nx9500-6C8809(config-profile default-ap8533-router-ospf)#router-id 172.16.10.8

Reload, or execute "clear ip ospf process" command, for this to take effect

nx9500-6C8809(config-profile default-ap8533-router-ospf)#

Related Commands

no (router-mode-config-command) Removes the configured OSPF router ID