When using FortiManager to upgrade firmware on FortiGate, FortiManager can choose the shortest upgrade path based on the FortiGate upgrade matrix.
You can use the CLI to view and check the shortest upgrade path for a managed device by using the
diagnose fwmanager command:
# diagnose fwmanager show-dev-upgrade-path 318 6.2.0
device FWF61ETK18003595(318), platform FWF61E, upgrade path from 5.6.10-1677 to 6.2.0-866 is: [6.0.0-76 --> 6.0.2-163 --> 6.0.3-200 --> 6.2.0-866]
In this example, the device ID is 318, and you want to upgrade the device to FortiOS 6.2.0. The device is currently running FortiOS 5.6.10 build 1677, and the shortest upgrade path to FortiOS 6.2.0 is displayed.
- Go to Device Manager > Firmware.
- Select a device, and click Upgrade.
The Upgrade Firmware dialog box is displayed.
- In the Upgrade to box, select an image.
In this example, the FortiGate is running FortiOS 5.6.10, and we are going to upgrade to 6.2.0 (0866).
- Click OK.
FortiManager starts the upgrade. Each upgrade is a subtask.
When all the subtasks reach a status of 100%, the upgrade completes.
- When the upgrade completes, click Close.