Re: sync security policy from one SRX to another SRX but change some element
You can do this from Junos Space. You need to discover both the SRX1 and SRX2 device in Space. Go to Security Director application. Import the current Security policies from the SRX1- FW policies.
Now from the imported policies in SD-> Configure -> FW policies tab, select the policy -> Right Click and create a clone of the policy.
You will have a new policy cloned with all the rules from the SRX1 device. Now assign this newly cloned policy to SRX2. Make the changes related to zones , addresses, application etc as per your need and then Publish and Update. That will push the security policies to the SRX2 device.
Simple and Easy from Junos Space Security Director application.
If you need assistance with these steps please feel free to contact JTAC.
Regards -Animesh If this worked for you please flag my post as an "Accepted Solution" so others can be benefited.