Fortinet white logo
Fortinet white logo

FortiLink Guide

Canceling pending or downloading FortiSwitch upgrades

Canceling pending or downloading FortiSwitch upgrades

A FortiSwitch device in FortiLink mode can be upgrade using the FortiGate device.

If a connectivity issue occurs during the upgrade process and the FortiSwitch unit loses contact with the FortiGate device, the FortiSwitch upgrade status can get stuck at Upgrading. Use the following CLI command to cancel the process:

execute switch-controller switch-software cancel {all | sn <FortiSwitch_serial_number> | switch-group <switch_group ID>}

all

Cancel the firmware upgrade for all FortiSwitch units.

sn <FortiSwitch_serial_number>

Cancel the firmware upgrade for the FortiSwitch unit with the specified serial number.

switch-group <switch_group ID>

Cancel the firmware upgrade for the FortiSwitch units belonging to the specified switch group.

For example, to cancel the upgrade of a FortiSwitch unit with the specified serial number:

execute switch-controller switch-software cancel sn S248EPTF180018XX

Canceling pending or downloading FortiSwitch upgrades

Canceling pending or downloading FortiSwitch upgrades

A FortiSwitch device in FortiLink mode can be upgrade using the FortiGate device.

If a connectivity issue occurs during the upgrade process and the FortiSwitch unit loses contact with the FortiGate device, the FortiSwitch upgrade status can get stuck at Upgrading. Use the following CLI command to cancel the process:

execute switch-controller switch-software cancel {all | sn <FortiSwitch_serial_number> | switch-group <switch_group ID>}

all

Cancel the firmware upgrade for all FortiSwitch units.

sn <FortiSwitch_serial_number>

Cancel the firmware upgrade for the FortiSwitch unit with the specified serial number.

switch-group <switch_group ID>

Cancel the firmware upgrade for the FortiSwitch units belonging to the specified switch group.

For example, to cancel the upgrade of a FortiSwitch unit with the specified serial number:

execute switch-controller switch-software cancel sn S248EPTF180018XX