Solved
How to remove a wrong command in Fortigate firewall without rebooting it
I have a firewall with a wrong command in the config, I am exploring whether I can correct it without rebooting the firewall.
The following syntax is in the Fortigate firewall. However, the command "set associated-interface "Terminal10" in red is wrong, it should not be there. Can the wrong command be removed by CLI without restoring the firewall config file? Restoration will cause disruption to the firewall operation as there will be rebooting. Appreciate your advice. Thanks.
edit "Terminal_192.168.1.1"
set associated-interface "Terminal10"
set comment "Terminal_192.168.1.1"
set subnet 192.168.1.1 255.255.255.255
next
set associated-interface "Terminal10"
set comment "Terminal_192.168.1.1"
set subnet 192.168.1.1 255.255.255.255
next
After the removal, it becomes as follows:
edit "Terminal_192.0.132.1"
set comment "Terminal_192.168.1.1"
set subnet 192.168.1.1 255.255.255.255
next
set comment "Terminal_192.168.1.1"
set subnet 192.168.1.1 255.255.255.255
next
