DescriptionThis article describes how to check the corresponding CLI configuration when the FortiGate is configured in web GUI.SolutionThe 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