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.
Jackie_T
Staff
Staff
Article Id 196389
Description
This article describes how to check the corresponding CLI configuration when the FortiGate is configured in web GUI.

Solution
The settings of the FortiGate in web GUI, will write and save the configuration in the command format to the FortiGate configuration file.
With many features and settings available in FortiOS, sometimes it will be difficult to trace the corresponding CLI commands to do some advance troubleshooting or cross verify in CLI.
Run below commands to display the changes in CLI format when changes in the web GUI interface are made:
#diagnose debug cli 8
#diagnose debug enable
After above commands executed, any changes in GUI will be displayed accordingly in CLI.
To disable the debug commands run following commands:
#diagnose debug reset
#diagnose debug disable

Contributors