: Move or Clone a Policy Rule or Object to a Different Device Group
Focus
Focus

Move or Clone a Policy Rule or Object to a Different Device Group

Table of Contents

Move or Clone a Policy Rule or Object to a Different Device Group

On Panorama, if a policy rule or object that you will move or clone from a device group has references to objects that are not available in the target device group (Destination), you must move or clone the referenced objects and the referencing rule or object in the same operation. In a Device Group Hierarchy, remember that referenced objects might be available through inheritance. For example, shared objects are available in all device groups. You can perform a global find to check for references. If you move or clone an overridden object, be sure that overrides are enabled for that object in the parent device group of the Destination (see Create Objects for Use in Shared or Device Group Policy).
When cloning multiple policy rules, the order by which you select the rules will determine the order they are copied to the device group. For example, if you have rules 1-4 and your selection order is 2-1-4-3, the device group where these rules will be cloned will display the rules in the same order you selected. However, you can reorganize the rules as you see fit once they have been successfully copied.
  1. Log in to Panorama and select the rulebase (for example, PolicySecurityPre Rules) or object type (for example, ObjectsAddresses).
  2. Select the Device Group and select one or more rules or objects.
  3. Perform one of the following steps:
    • (Rules only) MoveMove to other device group
    • (Objects only) Move
    • (Rules or objects) Clone
  4. In the Destination drop-down, select the new device group or Shared. The default is previously selected Device Group.
  5. (Rules only) Select the Rule order:
    • Move top (default)—The rule will come before all other rules.
    • Move bottom—The rule will come after all other rules.
    • Before rule—In the adjacent drop-down, select the rule that comes after the Selected Rules.
    • After rule—In the adjacent drop-down, select the rule that comes before the Selected Rules.
  6. The Error out on first detected error in validation check box is selected by default, which means Panorama will display the first error it finds and stop checking for more errors. For example, an error occurs if the Destination device group doesn't have an object that is referenced in the rule you are moving. When you move or clone many items at once, selecting this check box can simplify troubleshooting. If you clear the check box, Panorama will find all the errors before displaying them. Regardless of this setting, Panorama won’t move or clone anything until you fix all the errors for all the selected items.
  7. Click OK to start the error validation. If Panorama finds errors, fix them and retry the move or clone operation. If Panorama doesn't find errors, it performs the operation.
  8. Select CommitCommit and Push, Edit Selections in the Push Scope, select Device Groups, select the original and destination device groups, click OK, and then Commit and Push your changes to the Panorama configuration and to the device groups.
    Ensure that you push all the changes when the original or the destination device groups do not have any devices. Selective push is not supported for device groups that do not have any devices.