Is there something like route cache on fortigate like in linux? How can i clear this cache?

I have some problems with OSPF, after adding or changing redistributed network. Foritgate show routes correctly but traffic from some hosts is going to wrong patch.

  • Which firmware version are you on?
    – Zac67
    Jun 8, 2018 at 6:17
  • Firmware is 5.6.4.
    – piotr
    Jun 8, 2018 at 6:31
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide and accept your own answer.
    – Ron Maupin
    Dec 25, 2018 at 8:40

2 Answers 2


From the CLI you can issue the following command to restart the routing service.

exec router restart

To restart OSPF, you can use.

exec router clear ospf process

This might be a little late, but since the question still pops up on the Google search, I thought I answer it.

The following command works in 6.2.7* and above, but does not show up as an argument when trying to auto complete:

diagnose ip rtcache flush

*I don't have a system with a lower FortiOS to test.

Here is the corresponding Fortinet Community article.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.