Fortinet black logo

Devices Managed by FortiOS

Viewing and upgrading the FortiSwitch firmware version

Copy Link
Copy Doc ID a5cb2173-7e2e-11ec-a0d0-fa163e15d75b:801184
Download PDF

Viewing and upgrading the FortiSwitch firmware version

You can view the current firmware version of a FortiSwitch unit and upgrade the FortiSwitch unit to a new firmware version. The FortiGate unit will suggest an upgrade when a new version is available in FortiGuard.

Using the FortiGate GUI

To view the FortiSwitch firmware version:

  1. Go to WiFi & Switch Controller > Managed FortiSwitch.
  2. In the main panel, select the FortiSwitch faceplate and click Edit.
  3. In the Edit Managed FortiSwitch panel, the Firmware section displays the current build on the FortiSwitch.
To upgrade the firmware on multiple FortiSwitch units at the same time:
  1. Go to WiFi & Switch Controller > Managed FortiSwitch.
  2. Select the faceplates of the FortiSwitch units that you want to upgrade.
  3. Click Upgrade.The Upgrade FortiSwitches page opens.
  4. Select FortiGuard or select Upload and then select the firmware file to upload. If you select FortiGuard, all FortiSwitch units that can be upgraded are upgraded. If you select Upload, only one firmware image can be used at a time for upgrading.
  5. Select Upgrade.
Using the FortiGate CLI

Use the following command to stage a firmware image on all FortiSwitch units:

execute switch-controller switch-software stage all <image id>

Use the following command to upgrade the firmware image on one FortiSwitch unit:

execute switch-controller switch-software upgrade <switch id> <image id>

Use the following CLI commands to enable the use of HTTPS to download firmware to managed FortiSwitch units:

config switch-controller global

set https-image-push enable

end

NOTE: The HTTPS download is enabled by default.

From your FortiGate CLI, you can upgrade the firmware of all of the managed FortiSwitch units of the same model using a single execute command. The command includes the name of a firmware image file and all of the managed FortiSwitch units compatible with that firmware image file are upgraded. For example:

execute switch-controller switch-software stage all <firmware-image-file>

You can also use the following command to restart all of the managed FortiSwitch units after a 2-minute delay.

execute switch-controller switch-action restart delay all

Viewing and upgrading the FortiSwitch firmware version

You can view the current firmware version of a FortiSwitch unit and upgrade the FortiSwitch unit to a new firmware version. The FortiGate unit will suggest an upgrade when a new version is available in FortiGuard.

Using the FortiGate GUI

To view the FortiSwitch firmware version:

  1. Go to WiFi & Switch Controller > Managed FortiSwitch.
  2. In the main panel, select the FortiSwitch faceplate and click Edit.
  3. In the Edit Managed FortiSwitch panel, the Firmware section displays the current build on the FortiSwitch.
To upgrade the firmware on multiple FortiSwitch units at the same time:
  1. Go to WiFi & Switch Controller > Managed FortiSwitch.
  2. Select the faceplates of the FortiSwitch units that you want to upgrade.
  3. Click Upgrade.The Upgrade FortiSwitches page opens.
  4. Select FortiGuard or select Upload and then select the firmware file to upload. If you select FortiGuard, all FortiSwitch units that can be upgraded are upgraded. If you select Upload, only one firmware image can be used at a time for upgrading.
  5. Select Upgrade.
Using the FortiGate CLI

Use the following command to stage a firmware image on all FortiSwitch units:

execute switch-controller switch-software stage all <image id>

Use the following command to upgrade the firmware image on one FortiSwitch unit:

execute switch-controller switch-software upgrade <switch id> <image id>

Use the following CLI commands to enable the use of HTTPS to download firmware to managed FortiSwitch units:

config switch-controller global

set https-image-push enable

end

NOTE: The HTTPS download is enabled by default.

From your FortiGate CLI, you can upgrade the firmware of all of the managed FortiSwitch units of the same model using a single execute command. The command includes the name of a firmware image file and all of the managed FortiSwitch units compatible with that firmware image file are upgraded. For example:

execute switch-controller switch-software stage all <firmware-image-file>

You can also use the following command to restart all of the managed FortiSwitch units after a 2-minute delay.

execute switch-controller switch-action restart delay all