| Description | This article describes how to clone objects, policies, and UTM profiles using the CLI. |
| Scope | FortiOS. |
| Solution |
config firewall policy clone <policy_id> to <new_policy_id>
For example:
config firewall policy clone 98 to 20 end
config <dnsfilter/ web-filter/ antivirus> profile clone <existing-profile-name> to <new_profile_name> Example for web-filter profile:
config webfilter profile clone wifi-default to cloned-new end
It is also possible to clone custom services, local-in-policies, application control, and remaining UTM profiles. |
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.