Technical Tip: Procedure to upgrade managed FortiSwitches via FortiGate with same model in batches (CLI)
| 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.swtp>
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: |







