Created on
08-24-2025
09:15 PM
Edited on
08-26-2025
10:36 PM
By
Jean-Philippe_P
Description | This article describes how to delete an address object, especially since the delete option is grayed out in the References section for loopback interfaces, hardware switches, software switches, link aggregates, and VLAN interfaces. |
Scope | FortiGate. |
Solution |
An address object that is referenced by any interface cannot be deleted; the delete option is grayed out.
For example, with a VLAN: The VLAN 'Traffic_vlan' has one reference, which is an address object.
Despite having zero references for the address object, it shows as grayed out.
With a Hardware Switch:
With a Link Aggregate, Software Switch, or any other interface type.
In this scenario, two options are available to remove/delete the address object.
Option 1: Disable the 'Create address object matching subnet' option in the interface section; this will remove the address object. The 'Create address object matching subnet' is only available in the GUI when the interface role is set to LAN or DMZ.
Option 2: Delete the address object by navigating to Policy & Objects -> Addresses, searching for the name, and then deleting the address object.
Related articles: Technical Tip: How to Check Referenced Objects Troubleshooting Tip: Verifying FortiGate configuration object references and dependencies |
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.