Changes the router ID that is already in configured.
Global configuration mode
VRF configuration mode
Though a device has IP addresses assigned to various interfaces, some routing protocols identify the device by the router ID rather than the IP addresses assigned to the interfaces connected by the protocol.
The no form of the command removes the configured router ID and restores the default router ID.
The following example specifies the router ID as 192.158.1.2.
device# configure terminal device(config)# ip router-id 192.158.1.2