Fortinet white logo
Fortinet white logo

CLI Reference

system automation-script

system automation-script

Use this command to configure the CLI commands to be run in the Automation feature.

To use this command, your administrator account’s access control profile must have either w or rw permission to the mntgrp area. For details, see Permissions.

Syntax

config system automation-script
  edit <script_name>
    set script "<Cli_1>"
    set script "<Cli_2>"
  next
end


Variable Description Default

<script_name>

Enable to override the default list of FDN servers, and connect to a specific server. No default.

script "<cli>"

Enter the CLI commands to be run when certain trigger occurs.

You can enter multiple CLI command lines.

No default.

Related topics

system automation-script

system automation-script

Use this command to configure the CLI commands to be run in the Automation feature.

To use this command, your administrator account’s access control profile must have either w or rw permission to the mntgrp area. For details, see Permissions.

Syntax

config system automation-script
  edit <script_name>
    set script "<Cli_1>"
    set script "<Cli_2>"
  next
end


Variable Description Default

<script_name>

Enable to override the default list of FDN servers, and connect to a specific server. No default.

script "<cli>"

Enter the CLI commands to be run when certain trigger occurs.

You can enter multiple CLI command lines.

No default.

Related topics