Configuration Order Tool/Script
Hello,
I am trying to prepare templates in CLI form to deploy at sites. My configuration is complete, but when downloading the entire configuration from a Fortigate firewall it is not ordered correctly to be added to the cli.
As an example, tunnel interfaces are specified before the phase1-interface, this creates an error because phase1-interface needs to be created first before editing the tunnel interface. Another example would be it trying to create the vdoms before multi-vdom mode is configured.
Can anyone recommend and efficient way to order the configuration so that it can be added to the cli without error or do I need to go through it manually?
Thanks.
