Skip to main content
Contributor
September 20, 2005
Question

setting routing policy order

  • September 20, 2005
  • 2 replies
  • 4068 views
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.

    2 replies

    parmic
    New Member
    September 20, 2005
    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 Member
    September 30, 2005
    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.
    Contributor
    October 3, 2005
    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).