| Description |
This article describes how to edit a VLAN ID for a VLAN virtual interface after creation. |
| Scope |
FortiGate v7.0.0, v7.2.9 and above. |
| Solution |
There is a new feature starting v7.0.0, which is called the Interface Migration Wizard: Interface migration wizard
Note: If, when trying to make a change on the VLAN ID, the following error is encountered, the references need to be removed beforehand, and then the required change will take effect.
If the VLAN has multiple references that cannot be removed as a workaround, take a backup of the firewall configuration, edit the VLAN ID of the VLAN in Notepad, and restore the configuration on the firewall: Configuration backups and reset
In CLI, the following error will be presented:
VLAN ID, VLAN protocol or physical interface cannot be changed once a VLAN has been created.
After removing the references for this VLAN interface, the changes should be possible.
Note: VLAN ID is tied to the interface object name and internal references. For this reason, the Web GUI does not allow modifying it directly to avoid inconsistencies in dependent policies or objects. |
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.