FortiSwitch
FortiSwitch: secure, simple and scalable Ethernet solutions
dwivedis
Staff
Staff
Article Id 387479
Description This article describes how to resolve an issue where FortiSwitch configurations are lost following a firmware upgrade.
Scope FortiSwitch.
Solution

By default, configuration changes on a FortiSwitch are saved automatically. However, if configurations are lost after an upgrade, it is important to verify the cfg-save setting.

 

In some cases, the cfg-save option may be set to manual, meaning that any configuration changes must be saved explicitly using the command:


execute cfg save

 

If the switch is upgraded without manually saving the changes, all unsaved configurations will be lost.

 

Example: Manual Configuration Setting:


config system global
    set cfg-save manual
end

 

Recommended Solution:
To ensure configuration changes are saved automatically and persist through upgrades, it is recommended to set cfg-save to automatic:

 

config system global
    set cfg-save automatic
end

 

This setting ensures that all changes are saved automatically after each configuration modification, reducing the risk of losing configurations during an upgrade.

 

Related articles:

Troubleshooting Tip: Internal interface native VLAN changes after switch reboot
Technical Tip: Standalone FortiSwitch password and static route config loss after reboot
Technical Tip: Standalone FortiSwitch returning to previously set configuration or default configura...