Import and export configuration templates

You can export the configuration templates from any NetScaler Console. You can also import the file to the same or another NetScaler Console at any time in the future. The configuration templates data (like configuration commands, variable definitions, and parameters) are not lost.

You can export the configuration templates to a .json file format and save it in the local folder. You can import configuration template .json files into NetScaler Console. This file might be new or the one that you have exported from the same or other NetScaler Console.

To export the configuration templates:

  1. Navigate to Infrastructure > Configuration Jobs > Configuration Templates.

  2. Click the Add button to create the configuration template.

  3. On the Create Configuration Template page, specify the configuration template name, and choose the instance type. Under Configuration Editor, select configuration source as Configuration Template from the drop-down menu. You can drag the existing configuration templates to the configuration editor. Click Create.

    Create a configuration template 2

  4. Navigate to Infrastructure > Configuration Jobs > Configuration Templates to view the templates created in the list of Configuration Templates.

    View created templates

  5. Select the newly created configuration template and click the Export button.

The corresponding configuration template gets downloaded on your local system in .json format.

To import the configuration templates:

  1. Navigate to Infrastructure > Configuration Jobs > Configuration Templates and click the Import button. Select the path where you have the .json files of the configuration template and upload the .json files. ­It is recommended to upload the .json files that you have exported already.

  2. You can also import the configuration template using File option on the Configuration Editor.

  3. Select File from the drop-down menu in the Configuration Editor.

  4. Select Choose File (.json files) from your local system and upload the configuration template .json files.

    Upload template

    Note

    • Every new imported template is stored with a new id string.

    • You can import the configuration templates only if the file is saved in the .json format. If you import the configuration templates other than .json files, from your local system, it shows an error and fails the import of the files.

Import and export configuration templates

In this article