Routing
router ospf <pid>
Enter OSPF process configuration. PID is locally significant — does NOT need to match peers.
Works on: Router, Firewall, SwitchMode: config
Watch out
On a switch, 'ip routing' comes first: without it the switch answers '% IP routing not enabled'.
Run this command live
Don't just read it — type router ospf <pid> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.
Frequently asked
What does the "router ospf <pid>" command do?
Enter OSPF process configuration. PID is locally significant — does NOT need to match peers.
What's the common gotcha with "router ospf <pid>"?
On a switch, 'ip routing' comes first: without it the switch answers '% IP routing not enabled'.