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.
pavankr5
Staff
Staff
Article Id 335102
Description This article describes that, after creating a VLAN interface on a Fortinet FortiGate firewall, the delete button in the GUI can be greyed out, making it unclear how to remove the interface.
Scope FortiGate.
Solution

Cause:
The Delete option is disabled because other configurations are referencing the interface. 

 

Screenshot 2024-08-21 144508.png


Solution:
Identify the references in the interface which cannot be deleted until all configurations referencing it are removed.

 

Screenshot 2024-08-21 145007.png

 

Check the 'Ref' Column:
Select the number in the 'Ref' column next to the interface. This shows a list of configurations that are currently using the interface.

 

Remove References:
Review and delete any configurations listed in the popup that are linked to the interface.

 

Screenshot 2024-08-21 145341.png

 

Delete the Interface:
Once all referencing configurations are removed, the Delete button becomes active, allowing the removal of the interface.

 

Screenshot 2024-08-21 145658.png
CLI Method:

To check the reference via CLI:

 

diag sys cmdb refcnt show system.interface.name <name_of_the_VLAN_interface>

 

To delete VLAN via CLI:

 

config system interface
delete <name_of_the_VLAN_interface>