Skip to main content
Esteemed Contributor III
Oct 20, 2023 1:26 PM UTC

Technical Tip: Remove address object referenced by the interface

Description

This article describes the case if the role of the interface is set to LAN or DMZ the system will create an address object related to the physical interface.

 

There may be a need to remove that address object because the interface will not be free to be added to a virtual switch or be used for a management interface reservation by HA because the interface will have the reference to the auto-created address.

Scope FortiGate.
Solution

This address object reference can be removed by changing the role of the interface to undefined. 


3.png

 

Using CLI:

 

config system interface

    edit "port1"

        set role undefined  

     next

end

 

This can also be achieved by disabling the 'Create address object matching subnet' option if it is available for editing.

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024