IP Connectivity

R1 runs OSPF with router ID 192.168.1.1, taken from G0/0. An engineer enters router-id 1.1.1.1 under router ospf 1, but show ip ospf still shows 192.168.1.1. What should the engineer do?

Show the answer

Correct answerD. Enter clear ip ospf process

AWhy not this: The dead interval governs neighbor loss, not router ID changes; the old ID stays.

BWhy not this: A loopback address is only used when no router-id is configured; it would not force a change.

CWhy not this: An interface bounce resets neighbors on that link but does not change the router ID.

DWhy this is right: Restarting the OSPF process makes it adopt the configured router-id and re-form adjacencies.

A router ID is not changed while the OSPF process is running. The new value takes effect only after the process restarts, with clear ip ospf process or a reload. Bouncing an interface only resets adjacencies on that link and does not re-select the ID.