In FortiManager 7.0.2, a policy ID can be set when a new policy is being created in the GUI.
- Go to Policy & Objects and create a new policy.
On the policy creation screen, the policy ID is set to
0by default. When the ID is set to
0, FortiManager will automatically assign an ID when the policy is created as it had previously.
- To confiure the policy ID, enter number into the ID field, and save the policy.
Once saved, the chosen Policy ID is displayed on the policy page. In the following example, the chosen policy ID is
- (Optional) You can view the policy printout to see the policy ID.
FMG1000F # exe fmpolicy print-adom-package root 1 3636 181 333
Dump object  of category [firewall policy] in adom [root] package :
config firewall policy
set uuid b6feeed2-2624-51ec-27f5-edfef6ccd63d
set srcintf "any"
set dstintf "any"
set srcaddr "all"
set dstaddr "all"
set schedule "always"
set service "ALL"
set logtraffic all