Hi,
Is there anyway to modify the ID of a policy? for example if i have a firewall policy/security policy with ID 10 and I want to be with ID 9 ? is that possible ?
Thank you
If that ID, 9 doesnt exist, you can do this.
But this number is just and index, it has no real value in how the rules are processed, they can be moved up or down and ID will stay the same.
show firewall policy 10
and create it w/ 9
config firewall policy
edit 9
copy/paste frow show w/o uuid
end
delete 10
Hello
> Is there anyway to modify the ID of a policy?
No you cannot modify an existing policy ID.
It gets created when adding the policy and cannot be modified afterwards.
But you can
- copy the content into a new policy wth desired policy ID as mebntioned in the last post from funkylicious
- or another approach would be to clone the ticket from old ticket ID to new ticket ID
example (FortiGate-VM64-KVM v7.2.4):
# config firewall policy
# ?
edit Add/edit a table value.
delete Delete a table value.
purge Clear all table values.
move Move an ordered table value.
clone Clone a table entry. <-----
get Get dynamic and system information.
show Show configuration.
end End and save last config.
# clone ?
policyid Policy ID (0 - 4294967294).
10
# clone 10 ?
to clone table entry to
# clone 10 to 9
# edit ?
policyid Policy ID (0 - 4294967294).
10
9
# delete 10
# edit ?
policyid Policy ID (0 - 4294967294).
9
# show
Regards
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1737 | |
1108 | |
752 | |
447 | |
240 |
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 2024 Fortinet, Inc. All Rights Reserved.