FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Vbharath_FTNT
Article Id 194980

Description

 

This article describes how to upgrade FortiGate firmware. FortiGate administrators whose access profiles contain system configuration read and write privileges and the FortiGate admin user can change the FortiGate firmware.

Download the most recent firmware build from the Fortinet Technical Support website at http://support.fortinet.com/.

 

Scope

 

FortiGate.

 

Solution

 

Usage Awareness and preparation checklist before the upgrade:

  1. Firmware Images Checksums Link: Download locally and verify the hash of the Firmware that will be flashed (Always upgrade the firmware from a local copy).
  2. It is encouraged to perform the changes during a maintenance window to avoid any unexpected problems.
  3. If the plan is to upgrade, double-check the upgrade path tool and release notes concerning the model and the version.  
  4. Make sure to perform backups before starting the upgrade process.
  5. Verify the Release Notes for the intended version and evaluate special notices, upgrade information, product integration and support, resolved issues, known issues and limitations of the version. 
  6. Make sure to have physical access to the device during the upgrade and do not perform upgrade procedures remotely or through FortiGate Cloud.
  7. It is necessary to have a Console Cable (tested and connected) to access the unit through the console for any unexpected problems. See Technical Tip: How to connect to the FortiGate console port.


v5.2.x and v5.4.x:
To upgrade the firmware

  1. Log into the web-based manager as the administrative user.
  2. Go to System -> Dashboard -> Status and locate the System Information widget.
  3. Besides Firmware Version, select Update.
  4. On the next screen, select the 'Browse' or 'Upload Firmware' button.
  5. Locate the file on the local computer and select the firmware image file.
  6. Select the 'Backup config and upgrade' button to backup the configuration and start a firmware upgrade.

The FortiGate unit uploads the firmware image file, upgrades to the new firmware version, restarts, and displays the FortiGate login. This process takes a few minutes. 

 

 

V5.6.x, v6.0.x and v6.2.x:

  1. Log into the web-based manager as the administrative user.
  2. Go to System -> Firmware -> Select the 'Browse' button to locate the firmware image file.
  3. Locate the file on the local computer and select the firmware image file.
  4. Select the 'Backup config and upgrade' button to back up the configuration and start a firmware upgrade.
  5. The FortiGate unit uploads the firmware image file, upgrades to the new firmware version, restarts, and displays the FortiGate login. This process takes a few minutes.

    5.0 version.jpg

     


V7.0.x:

  1. Log into the web-based manager as the admin user.
  2. Go to System -> Firmware and there will be 4 tabs: Latest, All Upgrades, All Downgrades and File Upload.
  3. Select the option File upload, click on the Browse button to locate the firmware image file.
  4. Locate the file on the local computer and select the firmware image file.
  5. Select the 'Backup config and upgrade' button to back up the configuration and start a firmware upgrade.
  6. The FortiGate unit uploads the firmware image file, upgrades to the new firmware version, restarts, and displays the FortiGate login. This process takes a few minutes.
  7. An alternative process is to go to System -> Fabric Management, select the FortiGate, and select the Upgrade option. Similarly, 4 tabs will appear: follow steps 3 to 6.

    7.0 version.jpg

     

V7.2.x, v7.4.x and 7.6.x:

  1. Log into the web-based manager as the admin user.
  2. Go to System -> Fabric Management and select the FortiGate and then select option Upgrade. 4 tabs will appear: Latest, All Upgrades, All Downgrades and File Upload.
  3. Select the File Upload option and select the Browse button to locate the firmware image file.
  4. Locate the file on the local computer and select the firmware image file.
  5. Select the 'Backup config and upgrade' button to back up the configuration and start firmware upgrade.
  6. The FortiGate unit uploads the firmware image file, upgrades to the new firmware version, restarts, and displays the FortiGate login. This process takes a few minutes.
     
    7.2 versions-1.jpg

     

    7.2 versions-2.jpg

 

Upgrading the firmware through the CLI.
Before starting, ensure a TFTP server is running and accessible to the FortiGate unit.

Step 1:Copy the new firmware image file to the root directory of the TFTP server.
Step 2: Log into the CLI.
Step 3: Make sure the FortiGate unit can connect to the TFTP server.
Use the following command to ping the computer running the TFTP server. For example, if the IP address of the TFTP server is 192.168.1.168:

 

execute ping 192.168.1.168

Enter the following command to copy the firmware image from the TFTP server to the FortiGate unit:

 

execute restore image tftp <filename> <tftp_ipv4>

 

The FortiGate unit responds with the message:


    This operation will replace the current firmware version!
    Do you want to continue? (y/n)

 

Type y. The FortiGate unit will upload the firmware image file, upgrade to the new firmware version, and restart. This process takes a few minutes.

Reconnect to the CLI.

 

Updating the firmware on FortiGate.
Browse to support.fortinet.com and log in.

  1. Go to Downloads -> Firmware Images -> FortiGate -> Vr _ -> MR_ -> Patch _ and view the list for the image file matching the device model.
  2. Backup the FortiGate Config by going to the menu tabs on the left of the interface window.
    1. Go to System -> Dashboard -> Status -> System Information -> System Config -> Backup.
    2. Select 'Backup' and allow the browser to save the file to a secure location.
    3. Load the firmware and reboot by going to the menu tabs on the left of the interface window.
    4. Go to System -> Dashboard -> Status -> System Information -> Firmware Version -> Update.
    5. In the 'Upgrade From' field, choose 'Local Hard Disk'.
    6. Browse to the location of the saved firmware, downloaded in step 2 by pressing the 'Browse' button.
    7. Take note of the 'Upgrade Partition' (this cannot be altered here).
    8. To boot to the FortiGate firmware, ensure that the 'Boot the New Firmware' box is selected. This option is not available on earlier firmware.
    9. Press OK. The FortiGate will reboot.

Upgrading From the Details window.

 

Load the firmware and reboot by going to the menu tabs on the left of the interface window. Go to System -> Dashboard -> Status -> System Information -> Firmware Version -> Details.

  • Select the partition to upload the firmware to. (It is best practice to select the non-active partition for fallback reasons.)
  • Select Upload at the top.
  • In the 'Upgrade From' field choose 'Local Hard Disk'.
  • Browse to the location of the saved firmware downloaded in step 2 above by pressing the 'Browse button'.
  • Take note of the 'Upgrade Partition' (this cannot be altered here).
  • To boot to the firmware, ensure that the 'Boot the New Firmware' box is selected. This option is not available on earlier firmware.
  • If it is not desirable to boot immediately to the new firmware, deselect the 'Boot the New Firmware' box.
  • Press OK.

The FortiGate will reboot.

 

Upload and Boot to Firmware at a later time or Boot to Previous Firmware.

In the CLI, use the following commands.

To list partitions and check if they are active:

 

diag sys flash list   

 

To indicate what partition to boot from the next time the device reboots (Partition 1 is the primary and Partition 2 is the secondary):

 

execute set-next-reboot <primary|secondary>

 

To reboot the FortiGate:

 

execute reboot