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

Policy move up and down

Dears,

 

I don't how my section view has been disabled, but now my question is instead of drag and drop the policy towards up do we have another solution such as an insert to top level ??

 

If I want to delete all my policies how I can do it??

 

How I can re-enable a section view in my policy and objects

 

Thanks

2 REPLIES 2
Markus
Valued Contributor

Hi - If the section view is disabled, this is almost if you have a policy with interface any

- for moving policy you can use cli

   config firewall policy    move <policyid> <before/after> <policy id> - you can mark multiple policies with Ctrl for deleting them Best, Markus


________________________________________________________
--- NSE 4 ---
________________________________________________________

________________________________________________________--- NSE 4 ---________________________________________________________
ede_pfau

Agreed, there is no section view if you use interface 'any' in any policy, or if you use multiple interfaces as 'source interface' or 'destination interface'.

 

If you really want to delete all policies:

log into the CLI

config firewall policy

   purge

 

Once in the CLI, you could search for the 'any' interface before you resort to delete all:

config firewall policy

show | grep -f 'intf "any"'

 

 

Ede Kernel panic: Aiee, killing interrupt handler!
Ede Kernel panic: Aiee, killing interrupt handler!
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