Skip to main content
yzayani
Staff
Staff
April 23, 2026

Technical Tip: OSPF fails to re-initialize after reboot or WAN link flap

  • April 23, 2026
  • 0 replies
  • 100 views

Description

This article describes an issue where OSPF on a FortiGate does not reinitialize after a device reboot or WAN link flap.

Scope

FortiGate-Azure, FortiGate-VM.

Solution

  • The FortiGate OSPF daemon fails to detect the interface restoration or DHCP re‑assignment event and therefore does not re‑register the interface with ospfd.

  • The interface and IP are functional but ospfd does not scan or bind to the interface automatically, so the FortiGate does not send OSPF Hellos and does not form adjacency.

  • Manually running 'execute router clear ospf process' forces ospfd to rescan interfaces and immediately forms adjacency, proving the problem is an ospfd event detection/race condition.

  • Workaround:

    • Create an automation stitch to run 'execute router clear ospf process' when the WAN interface transitions to up.

    • This automates the manual recovery and restores adjacency without operator intervention.

config system automation-action
    edit "restart-ospf-cli"
        set action-type cli
        set cli "execute router clear ospf process"
    next
end

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.