Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Creating Firewall Policy Templates


Use this page to manage and create policy templates. You can use a CLI-based template editor to send configuration details to multiple devices. The template editor is a text-editing area, where you can type or paste Junos OS CLI commands.

Before You Begin

To configure a firewall policy template:

  1. Select Configure > Firewall Policy > Templates.
  2. Click the + icon.
  3. Complete the configuration according to the guidelines provided in Table 1.
  4. Click OK.

A new firewall policy device template with your configurations is created. Create a policy profile and associate the template in the policy profile. After associating the template, the policy profile can be referred in the firewall rules or firewall policies.

Table 1: Firewall Policy Template Settings




Enter a unique string of alphanumeric characters, colons, periods, dashes, and underscores. No spaces are allowed and the maximum length is 63 characters.


Enter a description for the firewall policy device template; maximum length is 1024 characters.

Device Family

Displays the autopopulated Juniper Networks SRX Series or LN Series devices as the device family. For example, SRX/vSRX/LN.

Release Number

Select a Junos schema release running on the device. For example, 11.4R2.4.

Template Editor

Enter or copy the Junos OS CLI commands to send configuration details to multiple devices.


Click the link to validate the configuration on the device. This ensures that the device template is semantically correct.