Fortinet black logo

Administration Guide

Viewing the CLI preview for provisioning templates

Viewing the CLI preview for provisioning templates

FortiManager includes the ability to preview CLI configuration changes for provisioning templates.

You can view the CLI preview for all provisioning template types, including: Template Groups, IPsec Tunnel Templates, SD-WAN Templates, BGP Templates, SD-WAN Overlay Templates, System Templates, Static Route Templates, CLI Templates, and Threat Weight Templates.

When a provisioning template includes CLI changes for multiple devices, you can select the device in the Device dropdown when previewing the CLI configuration. You can view the preview for both real and model devices.

If metadata variables are included in the template, the metadata variable names and not their resolved values are displayed in the preview.

To view the CLI configuration preview for provisioning templates:
  1. Go to Device Manager > Provisioning Templates.
    Select a template type by choosing the corresponding tab.
  2. Right-click on a template, and choose Preview CLI Configuration. The Preview CLI Configuration window is displayed with the CLI configuration for the selected template.

  3. When the provisioning template includes multiple devices, you can select a device from the Device dropdown. The CLI preview for the selected device is displayed in the content pane.
  4. In the Preview CLI Configuration window, you can search in the CLI using the search bar, and you can download the CLI preview by clicking the Download button.

Viewing the CLI preview for provisioning templates

FortiManager includes the ability to preview CLI configuration changes for provisioning templates.

You can view the CLI preview for all provisioning template types, including: Template Groups, IPsec Tunnel Templates, SD-WAN Templates, BGP Templates, SD-WAN Overlay Templates, System Templates, Static Route Templates, CLI Templates, and Threat Weight Templates.

When a provisioning template includes CLI changes for multiple devices, you can select the device in the Device dropdown when previewing the CLI configuration. You can view the preview for both real and model devices.

If metadata variables are included in the template, the metadata variable names and not their resolved values are displayed in the preview.

To view the CLI configuration preview for provisioning templates:
  1. Go to Device Manager > Provisioning Templates.
    Select a template type by choosing the corresponding tab.
  2. Right-click on a template, and choose Preview CLI Configuration. The Preview CLI Configuration window is displayed with the CLI configuration for the selected template.

  3. When the provisioning template includes multiple devices, you can select a device from the Device dropdown. The CLI preview for the selected device is displayed in the content pane.
  4. In the Preview CLI Configuration window, you can search in the CLI using the search bar, and you can download the CLI preview by clicking the Download button.