| Description |
This article describes a procedure to upgrade managed FortiSwitches via the FortiGate with the same model in batches with the CLI. |
| Scope | FortiGate, FortiSwitch, FortiLink. |
| Solution |
config switch-controller switch-group edit "<group-name>" set description "Optional description" set member "<switch_id_1>" "<switch_id_2>" next end
execute switch-controller switch-software upload ftp/tftp <image-name> <server-ip>
execute switch-controller switch-software stage switch-group <switch-group ID> <filename>
The filename can be retrieved using the command below: execute switch-controller switch-software list-available
execute switch-controller get-upgrade-status
execute switch-controller switch-action restart swtp switch-group <switch-group ID>
Related document: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2026 Fortinet, Inc. All Rights Reserved.