Routing

router-id <a.b.c.d>

Hard-code OSPF router ID. Else router picks highest loopback or active interface IP.

Works on: RouterMode: router
Run this command live

Don't just read it — type router-id <a.b.c.d> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "router-id <a.b.c.d>" command do?

Hard-code OSPF router ID. Else router picks highest loopback or active interface IP.

More Routing commands

← Back to the full command reference

router-id <a.b.c.d> — network CLI command reference · NetForge-AI