Description |
This article describes how to handle abnormal behavior with the different kinds of routing protocols used in FortiGate and related products, such as static routes, BGP, and OSPF. All these routing-related operations are handled by the routine engine on the FortiGate. Due to various reasons, it is possible to observe abnormalities in routing behaviors. |
Scope | FortiGate and Fortinet products with routing. |
Solution |
In the context of abnormal behavior, there are multiple ways to clear or restart the routine engine process.
execute router restart
This is a global command, so it must be run from the global VDOM when using a multi-VDOM setup. This affects traffic across all VDOMs, so should be used during a maintenance window:
FGT# config global FGT(global)#execute router restart
OSPF:
execute router clear ospf process <----- This will clear all the OSPF processors.
BGP:
execute router clear bgp <options> all <----- Clear all BGP peers. [Take 0-5 arg(s)] <----- Used for BGP hard reset.
After selecting the above option, select more arguments based on the option selected.
Example:
execute router clear bgp all <args...> Input arguments:
execute router clear bfd session <Source IP> <Destination IP> <Interface>
BFD session details can be found using the below commands:
get router info bfd neighbor get router info bfd requests
Disclaimer: The command 'execute router restart' is executed in the global context. In a multi-VDOM environment, this command will restart the entire routing engine across all VDOMs. Use this command with caution, as it impacts all virtual domains configured on the device. Ensure proper planning and maintenance window before executing this command to avoid unintended disruptions.
Related documents: BFD - FortiGate administration guide |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.