Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
fossil786
New Contributor

Console commands after GUI edits?

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!

https://9apps.ooo/
1 REPLY 1
funkylicious
SuperUser
SuperUser

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"
"jack of all trades, master of none"
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors