Skip to main content
fossil786
New Member
April 13, 2025
Question

Console commands after GUI edits?

  • April 13, 2025
  • 1 reply
  • 577 views

Is there a command that can be ran to see the commands at the console to make the associated change? Basically, we want to document a faster way to configure new devices but don’t use the console often currently. I want to do a config and then document the commands so we can quickly load up a new device with a base set of configuration.

Thank you!

1 reply

funkylicious
SuperUser
SuperUser
April 13, 2025

you would need to do a , show <> <> command that would display the changes that you've made, but this is kinda varies of what you are doing from the GUI.

if you are doing a new firewall rule/policy, then show firewall policy <> ( where instead of <> would be the id to show that particular rule, otherwise it will display all the rules - optional field ), or show system interface <> ( where <> would be the interface and also like the previous coment, optional ) and so on.

a rather simpler way would be to save/backup the config before the changes that you are doing and then another backup after them and make a diff to see what/where changed, if you are not familiar with the cli.

https://docs.fortinet.com/document/fortigate/7.6.2/cli-reference/84566/fortios-cli-reference 

"jack of all trades, master of none"