! PermitANY — Fortinet FortiGate HA Cluster ! FortiGate FGCP (FortiGate Clustering Protocol) HA configuration for Active/Passive or Active/Active mode with session synchronization, heartbeat interfaces, and failover settings. ! Generated: 2026-09-20 ! These are EXAMPLE values. Replace with your actual config before deploying. ! # FortiGate HA Configuration — FGT-01 ! config system ha set mode a-p set group-id 1 set group-name "FGT-HA-CLUSTER" set password HAPass2024! set priority 200 set override enable set session-pickup enable set session-pickup-connectionless enable set session-sync-dev "port8" {{#if (eq unicast_hb "enable")}} set unicast-hb enable set unicast-hb-peerip 169.254.0.2 {{/if}} set hb-interval 2 set hb-lost-threshold 6 set failover-hold-time 0 set link-failed-signal enable set hbdev "port7" 50 set monitor "port1" end ! # Note: After committing HA config, the secondary unit must have matching # group-name and password with a lower priority value. # Verify HA status with: get system ha status