Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

Administration Guide

CLI templates

CLI templates allow you to create CLI script templates or CLI script template groups that you can assign to managed devices.

Go to Device Manager > Provisioning Templates > CLI Templates to view the CLI Template and CLI Template Group entries in the content pane.

The following information is displayed:

Name

The user-defined template name.

Type

The CLI template type (CLI or Jinja).

Assigned Devices

The device names to which the template was assigned to.

Variables

The variables used in the script.

Comments

User defined comment for the template.

Last Modified

The date and time the template was last modified.

The following options are available in the toolbar, in the More menu, or in the right-click menu.

Create New

Create a new template or template group. See Adding CLI templates.

Edit

Edit the selected template or template group. See Editing CLI templates.

Delete

Delete the selected template or template group. See Deleting CLI templates.

Assign to Device/Group

Assign the selected template or template group to a managed device or device group. See Assigning CLI templates to managed devices.

Import CLI Template

Import a template or template group from your management computer. See Importing CLI templates.

Clone

Clone the selected template or template group. See Cloning CLI templates.

Export

Export the selected template as a .txt file to your management computer. See Exporting CLI templates.

Search

Enter a search term in the search field to search a template or template group.

CLI templates can be put into groups so that multiple templates may be assigned to managed devices at the same time. See CLI template groups.

Note

CLI templates do not support execute and diagnose commands. CLI templates will only work with device meta fields.

CLI templates

CLI templates allow you to create CLI script templates or CLI script template groups that you can assign to managed devices.

Go to Device Manager > Provisioning Templates > CLI Templates to view the CLI Template and CLI Template Group entries in the content pane.

The following information is displayed:

Name

The user-defined template name.

Type

The CLI template type (CLI or Jinja).

Assigned Devices

The device names to which the template was assigned to.

Variables

The variables used in the script.

Comments

User defined comment for the template.

Last Modified

The date and time the template was last modified.

The following options are available in the toolbar, in the More menu, or in the right-click menu.

Create New

Create a new template or template group. See Adding CLI templates.

Edit

Edit the selected template or template group. See Editing CLI templates.

Delete

Delete the selected template or template group. See Deleting CLI templates.

Assign to Device/Group

Assign the selected template or template group to a managed device or device group. See Assigning CLI templates to managed devices.

Import CLI Template

Import a template or template group from your management computer. See Importing CLI templates.

Clone

Clone the selected template or template group. See Cloning CLI templates.

Export

Export the selected template as a .txt file to your management computer. See Exporting CLI templates.

Search

Enter a search term in the search field to search a template or template group.

CLI templates can be put into groups so that multiple templates may be assigned to managed devices at the same time. See CLI template groups.

Note

CLI templates do not support execute and diagnose commands. CLI templates will only work with device meta fields.