Description
The removed FortiGate will retain the vast majority of its current configuration when removed from the cluster, including but not limited to:
This means that it is relatively straightforward to put a removed FortiGate back into the HA cluster (though see the notes further below for additional considerations).
Note:
It is still recommended to plan the removal process around a scheduled maintenance window, and it is also not recommended to use this option in cloud environments, as devices often have different IP addresses assigned to each node.
Scope
FortiGate High Availability, v5.2/5.4, v5.6 through v6.x/v7.x and later.
Solution
Disconnecting a FortiGate from the HA cluster - GUI Method (v5.6 through v6.x/v7.x and later):
1. Log in to the Primary FortiGate via the Web GUI.
2. Navigate to System -> HA (in the Global VDOM, if VDOMs are enabled). A list of FortiGate cluster members will be present.
3. Select the unit to disconnect, then select the Remove device from HA cluster button:
Note:
If the disconnected FortiGate is going to be reconnected to the cluster, consider the following:
Disconnecting a FortiGate from the HA cluster - CLI Method (all FortiOS versions):
As mentioned above, the existing HA cluster members will continue to provide service to the network without disruption, and the disconnected FortiGate will be accessible via the above interface and IP address (assuming routes exist as well to reach remote destinations).
Disconnecting a FortiGate from the HA cluster - GUI Method (Legacy v5.2/v5.4):
1. Log in the to Web GUI of the Primary FortiGate.
2. Navigate to System -> Config -> HA. A list of FortiGate cluster members will be present.
3. Select the unit to disconnect, then select the disconnect button/icon:
In the Disconnect Cluster Member window, specify the Interface to be used for management access to the disconnected unit.
Configure an IP/Netmask for the specified interface. This IP address should be reachable over the network so that the removed FortiGate can be managed, as all other interfaces on the removed FortiGate will have the IP addressing removed/cleared to avoid conflicts with the existing HA cluster.
Select OK to commit the change. Once the change is committed, the cluster will no longer show the unit as being connected to the cluster, and the disconnected unit's HA mode will be changed to standalone.
Important Note:
When a FortiGate disconnects itself from an HA cluster, it removes interface IP addresses using the CLI command unset ip. However, IP removal may fail if an interface has configuration dependencies. In such cases, the interface IP will remain configured after the unit becomes standalone. For example below, if an interface IP is referenced by other features (e.g., BFD or OSPF), the removal will fail:
config system interface
edit "port1"
set vdom "root"
set ip 10.56.242.195 255.255.252.0
set allowaccess ping https ssh http telnet
set type physical
set snmp-index 1
next
end
config router bfd
config neighbor
edit 10.56.242.129
set interface "port1"
next
end
end
Thus, after disconnecting a unit from the HA cluster, it is suggested to:
Log in to the device via new management IP or console.
Verify that all interface IP addresses have been successfully removed.
For any IP address that remains:
Remove all related configuration dependencies and unset the IP, or
Perform a factory reset on the unit.
201G-B-4627 # execute ha disconnect FGVM02TM2001363x mgmt 172.18.14.99 255.255.255.0
Starting disconnect self from HA cluster.
[__cli_action_hidden_entry:112] action error with hidden entry -23
failed to change interface port1 ip(-23)
WARNING: To avoid IP conflict, you need to manually change/unset the above interfaces' IP on the disconnected FGT.
But there are certain limitations for this feature in v7.6 branch that:
The warning message is only shown on the unit disconnecting itself.
If a unit disconnects another device from the cluster, the warning will not appear.
This visibility issue will be addressed in FortiOS 8.0.0.
Additionally, when the disconnect command to disconnect itself is executed through an IP-based CLI session (SSH or GUI CLI):
The warning does not appear
Because the FortiGate removes all IP addresses during the process, which causes the session drops before the warning can be displayed.
Related articles:
Troubleshooting Tip: FortiGate Cluster upgrade gets stuck when not all members have upgraded.
Technical Tip: How to confirm that Load Balancing is occurring (HA cluster).
Technical Tip: How to view the routing table on Slave/Secondary/Subordinate units in HA cluster.
Technical Tip: HA Reserved Management Interface's hidden VDOM (vsys_hamgmt VDOM).
Technical Tip: How to break a HA cluster and use one of the members as standalone
Troubleshooting Tip: Backup & Restore Cluster HA when there are many differences in tables
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.