System Management : Upgrading firmware : Upgrading firmware using the CLI
 
Upgrading firmware using the CLI
This procedure is provided for CLI users.
Before you begin:
Read the release notes for the version you plan to install. If information in the release notes is different from this documentation, follow the instructions in the release notes.
You must be able to use TFTP to transfer the firmware file to the FortiADC. If you do not have a TFTP server, download and install one, like tftpd (Windows, Mac OS X, or Linux), on a server located on the same subnet as the FortiADC.
Download the firmware file from the Fortinet Technical Support web site: https://support.fortinet.com/
Copy the firmware image file to the root directory of the TFTP server.
Back up your configuration before beginning this procedure.
You must have super user permission (user admin) to upgrade firmware.
To install firmware via the CLI:
1. Connect your management computer to the FortiADC console port using an RJ-45-to-DB-9 serial cable or a null-modem cable.
2. Initiate a connection to the CLI and log in as the user admin.
3. Use an Ethernet cable to connect FortiADC port1 to the TFTP server directly, or connect it to the same subnet as the TFTP server.
4. If necessary, start the TFTP server.
5. Enter the following command to transfer the firmware image to the FortiADC system:
execute restore image tftp <filename_str> <tftp_ipv4>
where <filename_str> is the name of the firmware image file and <tftp_ipv4> is the IP address of the TFTP server. For example, if the firmware image file name is image.out and the IP address of the TFTP server is 192.168.1.168, enter:
execute restore image tftp image.out 192.168.1.168
One of the following message appears:
This operation will replace the current firmware version!
Do you want to continue? (y/n)
or:
Get image from tftp server OK.
Check image OK.
This operation will downgrade the current firmware version!
Do you want to continue? (y/n
6. Type y.
The system installs the firmware and restarts:
MAC:00219B8F0D94
###########################
Total 28385179 bytes data downloaded.
Verifying the integrity of the firmware image.
Save as Default firmware/Backup firmware/Run image without saving:[D/B/R]?
7. To verify that the firmware was successfully installed, log into the CLI and type:
get system status
The firmware version number is displayed.
 
If the download fails after the integrity check with the error message invalid compressed format (err=1,but the firmware matches the integrity checksum on the Fortinet Technical Support web site, try a different TFTP server.
 
 
Because TFTP is not secure, and because it does not support authentication and could allow anyone to have read and write access, you should only run it on trusted administrator-only networks, never on computers directly connected to the Internet. If possible, immediately turn off tftpd off when you are done.