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.
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. |

