Fortinet white logo
Fortinet white logo

Administration Guide

Import a script

Import a script

Scripts can be imported as text files from your local computer.

To import a script:
  1. Go to Device Manager > Scripts.
  2. Select Import CLI Script from the toolbar. The Import CLI Script window opens.
  3. Drag and drop the script file onto the dialog box, or click Add Files and locate the file to be imported on your local computer.
  4. Click Import to import the script.

    If the script cannot be read, due to an incorrect file type or other issue, an error message will be displayed and the import process will be canceled.

To import a script in the Global Database ADOM:
  1. Go to Policy & Objects > Object Configuration > Advanced > Scripts.
  2. Select Import from the toolbar. The Import Script dialog box opens.
  3. Enter a name for the script and, optionally, comments, in the requisite fields.
  4. Click Browse... and locate the file to be imported on your local computer.
  5. Click Import to import the script.

    If the script cannot be read, due to an incorrect file type or other issue, an error message will be displayed and the import process will be canceled.

Import a script

Import a script

Scripts can be imported as text files from your local computer.

To import a script:
  1. Go to Device Manager > Scripts.
  2. Select Import CLI Script from the toolbar. The Import CLI Script window opens.
  3. Drag and drop the script file onto the dialog box, or click Add Files and locate the file to be imported on your local computer.
  4. Click Import to import the script.

    If the script cannot be read, due to an incorrect file type or other issue, an error message will be displayed and the import process will be canceled.

To import a script in the Global Database ADOM:
  1. Go to Policy & Objects > Object Configuration > Advanced > Scripts.
  2. Select Import from the toolbar. The Import Script dialog box opens.
  3. Enter a name for the script and, optionally, comments, in the requisite fields.
  4. Click Browse... and locate the file to be imported on your local computer.
  5. Click Import to import the script.

    If the script cannot be read, due to an incorrect file type or other issue, an error message will be displayed and the import process will be canceled.