Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Not applicable

setting routing policy order

greetings. is it possible to change the order of routing policies? the manual says that the " unit starts at the top of the policy routing list and attempts to match the packet with a policy" which to me means that the order of the routing policies is important. i have inherited a fortinet with 15 policies and i need to insert a new policy near the top of the list. currently it' s at the end of the list and appears to be having no effect, so i can only assume it' s an ordering issue. i can' t find any means to change the order of the policies, however i suspect it' s possible as there are currently policies that are out of sequence (the order is 4, 3, 5, 6, ...). i' d really like to avoid having to nuke the entire list an recreate just to add a new policy. how can i reorder them? thanks.
3 REPLIES 3
parmic
New Contributor

Sorry i dont know any way that you can edit " seq_num" . But you can do this : 1.enter ssh or telnet 2.hit command " show policy route" 3.copy the rules in an editor 4.change order there 5.hit command " purge" in order to delete all policy route rules 6.and then hit " your new edit , with your prefered sequence" PS : when you enter commands in cli make sure you are in the right path , in your case " config router policy" Thx
nsantin
New Contributor III

My understanding is that Fortigate uses the order of the policies, not the ID#. Just order them properly in the GUI. To move policies around, click on last icon (^V) on the policy.
Not applicable

ORIGINAL: nsantin My understanding is that Fortigate uses the order of the policies, not the ID#. Just order them properly in the GUI. To move policies around, click on last icon (^V) on the policy.
router policies don' t have a reorder icon (you' re probably thinking of firewall policies).
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors