Installing Firmware

Testing firmware before installing it

You can test a new firmware image by temporarily running it from memory, without saving it to disk. By keeping your existing firmware on disk, if the evaluation fails, you do not have to re-install your previous firmware. Instead, you can quickly revert to your existing firmware by simply rebooting the FortiMail unit.

To test a new firmware image

  1. Connect your management computer to the FortiMail console port using a RJ-45 to DB-9 serial cable or a null-modem cable.
  2. Initiate a connection from your management computer to the CLI of the FortiMail unit.
  3. Connect port1 of the FortiMail unit directly or to the same subnet as a TFTP server.
  4. Copy the new firmware image file to the root directory of the TFTP server.

Page 686

  1. Verify that the TFTP server is currently running, and that the FortiMail unit can reach the TFTP server.

To use the FortiMail CLI to verify connectivity, enter the following command:

execute ping where is the IP address of the TFTP server.

  1. Enter the following command to restart the FortiMail unit: execute reboot
  2. As the FortiMail units starts, a series of system startup messages are displayed.

Press any key to display configuration menu……..

  1. Immediately press a key to interrupt the system startup.

If you successfully interrupt the startup process, the following messages appears:

[G]: Get firmware image from TFTP server. [F]: Format boot device. [B]: Boot with backup firmware and set as default. [I]: Configuration and information. [Q]: Quit menu and continue to boot with default firmware. [H]: Display this list of options.

Enter G,F,B,I,Q,or H:

  1. Type G to get the firmware image from the TFTP server.

The following message appears:

Enter TFTP server address []:

10.Type the IP address of the TFTP server and press Enter.

The following message appears:

Enter Local Address []:

11.Type a temporary IP address that can be used by the FortiMail unit to connect to the TFTP server.

The following message appears:

Enter File Name [image.out]:

12.Type the firmware image file name and press Enter.

The FortiMail unit downloads the firmware image file from the TFTP server and displays a message similar to the following:

Save as Default firmware/Backup firmware/Run image without saving:[D/B/R]

13.Type R.

The FortiMail image is loaded into memory and uses the current configuration, without saving the new firmware image to disk.

14.To verify that the new firmware image has been loaded, log in to the CLI and type: get system status

15.Test the new firmware image.

  • If the new firmware image operates successfully, you can install it to disk, overwriting the existing firmware, using the procedure “Installing firmware” on page 688.
  • If the new firmware image does not operate successfully, reboot the FortiMail unit to discard the temporary firmware and resume operation using the existing firmware.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.