| Description | This article describes how to disable policy name requirements. |
| Scope | FortiGate. |
| Solution |
When a user tries to enable policy, the unit will not allow to create one by default, which shall show the below error.
If disabling the requirement is a one-time thing, doing it in the CLI is more straightforward.
This setting is VDOM-based so if multiple VDOMs are running, it will be necessary to enter the correct VDOM before entering the CLI commands or turning the feature on or off in the GUI.
From GUI.
Once it has been enabled, the requirement for named policies can be relaxed by going to System -> Feature Visibility. Allow Unnamed Policies can be found under Additional Features. Here, it is possible to toggle the requirement on and off.
From CLI.
config system settings set gui-allow-unnamed-policy [enable|disable] end
A policy without any name can be created as below: |
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.