FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
smujeeb
Staff
Staff
Article Id 215295
Description

This article describes how to edit a VLAN ID for VLAN virtual interface after creation.

Scope FortiGate.
Solution

Once a VLAN interface is created, it is not possible to edit the VLAN ID. The solution is to create a new interface with the required VLAN ID and then remove the original VLAN interface.

 

Note that all references to the original VLAN will need to be removed before it can be deleted.

 

smujeeb_0-1655851937767.png

 

The VLAN ID is immutable in the GUI.

 

smujeeb_1-1655851937773.png

 

 

In the CLI, the following error message will be bisible when editing the VLAN ID.

 

smujeeb_2-1655851937779.png

 

Note.

Alternatively, if there are too many references to the interface i.e. routes and Firewall policies, it is possible to backup the configuration, edit the VLAN ID  in the backup configuration and restore it on the Firewall.