Technical Tip: Firmware Upgrade and Configuration Restore using a USB drive
Description
Solution
Configuration Steps
- Download the desired firmware or configuration file to a USB drive.
- Rename the file or just leave the default file name.
- Configure FortiGate to apply firmware and configuration file from USB in the boot process.
This can be done from Web Management Interface by navigating to System -> Settings:
Alternatively, this can be set from the CLI as well:
config system auto-install
set auto-install-config enable
set auto-install-image enable
set default-config-file "FGT61F-config-7.2.1.conf"
set default-image-file "FGT61F-image-7.2.1.out"
end
config system auto-install
set auto-install-config enable
set auto-install-image enable
set default-config-file "fgt_system.conf"
set default-image-file "image.out"
end
Verification of configuration.
- If the firmware image file is the same as existing in the FortiGate, no action will be taken.
System is starting...
Get image from USB disk ... OK.
Checksum check synced! Don't need restore image.
- If firmware image is older than the one existing in FortiGate, downgrade will be performed.
System is starting...
Get image from USB disk ... OK.
Verifying the integrity of the firmware image...
Check image... OK.
Firmware downgrade in progress ...
Done.
- If firmware image is newer than the one existing in FortiGate, upgrade will be performed.
System is starting...
Get image from USB disk ... OK.
Verifying the integrity of the firmware image...
Check image... OK.
Please wait for system to restart.
Firmware upgrade in progress ...
Done.
- If a configuration backup file is not detected or it does not match the filename, an error message is displayed in the console, but no action is taken.
System is starting...
Can not get config file from USB disk
- If a configuration backup file is detected, device reboots and new configuration file is loaded.
Booting OS...
Initializing firewall...
System is starting...
Get config file from USB disk OK.
File check OK.
FGT61F-RIGHT login:
The system is going down NOW !!
Please stand by while rebooting the system.
Restarting system.
