Created on
10-19-2023
10:35 PM
Edited on
12-17-2025
02:07 AM
By
Jean-Philippe_P
| Description |
This article describes an issue where, after upgrading the FortiGate from v7.0, v7.2 to v7.4, users are unable to change the managed FortiSwitch name from the GUI. |
| Scope | FortiGate v7.4.x, FortiSwitch. |
| Solution |
In version FortiOS (FortiGate) v7.2 and prior versions, it is possible to make the switch name changes by using the following CLI command:
edit <switch-id> <----- Usually this switch-id is the serial number. set name <NAME> next
The command 'set name' has been removed from FortiOS v7.4.x+.
When upgrading is complete, the switch names are now restored as switch-id. Therefore, the managed FortiSwitch name cannot be changed when the device is already authorized.
See this documentation: Defining names for managed switches
When upgrading the firewall, the switch names are lost. It is only possible to see the FortiSwitch serial number in the 'Name' field in the GUI.
To add the FortiSwitch name, rename the managed FortiSwitch using the following CLI command on FortiGate:
config switch-controller managed-switch
After the change is made, the FortiGate GUI will reflect the change. The name cannot be edited via the GUI.
This behavior is part of the feature change on FortiOS (FortiGate) v7.4.0. It is added under New Feature in the Release notes of FortiOS v7.4.0 with ID 769722.
As of the introduction of this feature, it is no longer possible to edit the serial number of the device. It is a read-only command. Even if it was configured via the CLI, the following error would be thrown after it exits the hierarchy:
When FortiSwitch ports are exported to other VDOMs, refer tto his article for a workaround: Troubleshooting Tip: Configuration Sync Error on FortiSwitch After Upgrading FortiGate from v7.2.8 t....
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 2025 Fortinet, Inc. All Rights Reserved.