FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
caunon
Staff
Staff
Article Id 373434
Description

This article describes how to handle a situation where the CLI command 'diagnose ips cfgscript run' cannot be run in a FortiGate unit.

Scope

FortiGate v7.0.17 ,v7.4.7 ,v7.6.2.

Solution
  1. On the FortiGate unit, go to the CLI and run the following CLI command:

diagnose ips cfgscript run

 

The following error message will appear:

 

FGT # diagnose ips cfgscript run

command parse error before 'cfgscript'

Command fail. Return code -61

 

  1. It happens after upgrading FortiGate firmware version to be v7.0.17 ,v7.4.7 ,v7.6.2 and above. This is because the cfgscript command has been removed in these versions.

The command can be used to run Lua code for numerous purposes. For security reasons, the command has been removed.

Contributors