Configure a Template Stack
A template stack is configurable and allows you to combine multiple templates to push full configurations to your managed firewalls. While templates are modular portions of your firewall configuration that you can reuse across different stacks, you can also configure the template stack to fill in the remaining configurations that you need to apply across all firewalls assigned to the stack. Panorama supports up to 1,024 template stacks and each stack can have up to 8 templates assigned to it. You can reference objects configured in a template stack from a template belonging to the temple stack. In the event that the template stack and a template in the stack have conflicting values, the value configured in the template stack will be pushed. For details and planning, see Templates and Template Stacks.
Add a Template to configure interfaces, VLANs, Virtual Wires, IPSec Tunnels, DNS Proxy and Virtual Systems. These objects must be configured and pushed from a template, and not a template stack. Once pushed from a template, you can override these objects, except for Virtual Systems, in the template stack.
- Plan the templates and their order in the stack.Add a Template you plan to assign to the template stack.When planning the priority order of templates within the stack (for overlapping settings), you must check the order to prevent misconfiguration. For example, consider a stack in which the ethernet1/1 interface is of type Layer 3 in Template_A but of type Layer 2 with a VLAN in Template_B. If Template_A has a higher priority, Panorama will push ethernet1/1 as type Layer 3 but assigned to a VLAN.Also note that a template configuration can’t reference a configuration in another template even if both templates are in the same stack. For example, a zone configuration in Template_A can’t reference a zone protection profile in Template_B.
- Create a template stack.
- Select PanoramaTemplates and Add Stack.
- Enter a unique Name to identify the stack.
- For each of the templates the stack will combine (up to 8), Add and select the template. The dialog lists the added templates in order of priority with respect to duplicate settings, where values in the higher templates override those that are lower in the list. To change the order, select a template and Move Up or Move Down.
- In the Devices section, select firewalls to assign
them to the stack. For firewalls with multiple virtual systems,
you can’t assign individual virtual systems, only an entire firewall.
You can assign any firewall to only one template stack.Whenever you add a new managed firewall to Panorama, you must assign it to the appropriate template stack; Panorama does not automatically assign new firewalls to a template or template stack. When you push configuration changes to a template, Panorama pushes the configuration to every firewall assigned to the template stack.
- (Optional) Select Group HA Peers to
display a single check box for firewalls that are in a high availability
(HA) configuration. Icons indicate the HA state: green for active
and yellow for passive. The firewall name of the secondary peer
is in parentheses.For active/passive HA, add both peers to the same template so that both will receive the configurations. For active/active HA, whether you add both peers to the same template depends on whether each peer requires the same configurations. For a list of the configurations that PAN-OS synchronizes between HA peers, see High Availability Synchronization.
- Click OK to save the template stack.
- (Optional) Configure a Template or Template Stack Variable.
- Edit the Network and Device settings,
as necessary.Renaming a vsys is allowed only on the local firewall, not. If you rename a vsys on Panorama, the result is an entirely new vsys or the new vsys name gets mapped to the wrong vsys on the firewall.In an individual firewall context, you can override settings that Panorama pushes from a stack in the same way you override settings pushed from a template, see Override a Template or Template Stack Value.
- Filter the tabs to display only the mode-specific
settings you want to edit:While Panorama pushes mode-specific settings only to firewalls that support those modes, this selective push doesn’t adjust mode-specific values. For example, if a template has firewalls in Federal Information Processing Standards (FIPS) mode and an IKE Crypto profile that uses non-FIPS algorithms, the template push will fail. To avoid such errors, use the Mode drop-down in the Network and Device tabs to filter mode-specific features and value options.
- In the Mode drop-down, select or clear the Multi VSYS, Operational Mode, and VPN Mode filter options.
- Set all the Mode options to reflect the mode configuration of a particular firewall by selecting it in the Device drop-down.
- Set up your interfaces and network connectivity. For example, Configure Zones and Interfaces to segment your network to manage and control traffic passing through your firewall.
- Edit the settings as needed.
- Select CommitCommit and Push, Edit Selections in the Push Scope, select Templates, select the firewalls assigned to the template stack, and then Commit and Push your changes to the Panorama configuration and to the template stack.
- Filter the tabs to display only the mode-specific settings you want to edit:
- Verify that the template stack works as expected.
- Select a device assigned to the template stack from the Context drop-down.
- Select a tab to which you pushed configuration changes using the template stack.
- Values pushed from the template stack display a template icon ( ) to indicate that settings in the section have values pushed from a template stack. Hover your mouse over the stack to view which template stack from which the value was pushed.
- Troubleshoot Connectivity to Network Resources to verify your firewalls can access your network resources.
Templates and Template Stacks
Overview of template and template stack configuration functionality. ...
Add a Template
Add a Template You must add at least one template before Panorama™ displays the Device and Network tabs required to define the network setup and ...
Template Stacks You can configure a template stack or assign templates to a template stack. Assigning firewalls to a template stack allows you to push ...
Override a Template Setting
Override a template setting on the firewall by manually overriding the values on the firewall or by using variables. ...
Configure a Template or Template Stack Variable
How to create a variable in a template or template stack and push it to firewalls and appliances. ...
Manage Templates and Template Stacks
Manage Templates and Template Stacks Use templates and template stacks to define the common base configurations that enable firewalls to operate in your network. See ...
Panorama > Templates > Template Variables
Describes how to add a variable definition for a template or a template stack. ...
Override a Template Stack Setting Using Variables
How to use variables to override a configuration setting pushed to the firewall from a template or template stack. ...
Override a Template Setting on the Firewall
Locally override values pushed from a template or template stack configuration on the firewall. ...