After the FortiGate upgrade, FortiManager may attempt to install the previous command syntax, resulting in installation failures similar to the following:
FGT (Vdom1) config switch-controller global
FGT (global) set vlan-optimization enable
command parse error before 'enable'
Command fail. Return code -61
FGT (global) end
FGT (Vdom1) end
In FortiOS v7.6.6, the syntax of the vlan-optimization setting under config switch-controller global has changed. In v7.4.11, the syntax is 'enable'. Whereas in v7.6.6, it is changed to 'configured' on the FortiGate end.
FortiManager still holds the configuration retrieved from the earlier FortiOS version and continues to push the old keyword, causing the deployment to fail.
To resolve the issue, update the configuration on the FortiGate using the new syntax and then synchronize the configuration with FortiManager:
Configure the new syntax on the FortiGate:
Run the following commands on the affected VDOM:
config vdom
edit Vdom1
config switch-controller global
set vlan-optimization configured
end
end
Retrieve the configuration in FortiManager:
From FortiManager: Select the FortiGate device. Perform a Full Retrieve Config operation. Wait for the retrieval to complete successfully.
Verify the installation preview:
After the configuration retrieval: Open Install Preview. Confirm that FortiManager no longer attempts to send the old command. Proceed with the configuration installation.
The configuration installation to the ADOM should now complete successfully without command parsing errors.
|