: Import Template Stack Variables
Focus
Focus

Import Template Stack Variables

Table of Contents

Import Template Stack Variables

Bulk import template stack variables to Panorama™ Interconnect.
Use template stack variables to replace IP addresses, IP ranges, FQDN, interfaces in IKE, VPN and HA configurations, and group IDs in your firewalls configurations. Variables allow you to reduce the total number of templates and template stacks you need to manage, while allowing you to preserve any firewall-specific values.
Importing template stack variables allows you to overwrite the values of multiple existing variables, and you cannot create new template stack variables when importing. For more information how on how to create new template or template stack variable, see Configure a Template or Template Stack Variables.
  1. Export the existing template stack variables.
    1. Log in to the Panorama Web Interface of the Panorama Controller.
    2. Select
      Panorama
      Interconnect
      Devices
      and
      Export Variables
      .
    3. From the drop-down menu, select the template stack
      Name
      .
    4. Click
      OK
      and save the CSV file.
  2. Edit the CSV file containing the template stack variables to import to Panorama Interconnect in the following format:
    Values that display as
    #inherited#
    are values that are defined in the template stack.
    1. Correct the number of the cells containing the firewall serial number. Repeat this step for all firewalls in the CSV file.
      1. Right-click the cell containing the firewall serial number and select
        Format Cells
        .
      2. Select
        Number
        Text
        and click
        OK
        .
      3. Add a
        0
        at the beginning of the serial number.
    2. Enter a new value for the desired template variable.
    3. Select
      File
      Save As
      and save the file in
      CSV UTF-8
      format.
  3. Import the CSV file to the template stack.
    1. Log in to the Panorama Web Interface of the Panorama Controller.
    2. Select
      Panorama
      Interconnect
      Devices
      and
      Import Variables
      .
    3. In the
      Select template stack
      drop-down, select the template stack to import the variables to.
    4. In the
      Import CSV File
      , click
      Select File
      and select the CSV file containing the template stack variables.
    5. Click
      OK
      to import the template stack variables.
    6. Select
      Commit
      Commit to Panorama
      and
      Commit
      your changes.

Recommended For You