nerdexam
Fortinet

NSE4 · Question #514

Which of the following statement correct describes the use of the "diagnose sys ha reset- uptime" command?

The correct answer is A. To force an HA failover when the HA override setting is disabled.. The diagnose sys ha reset-uptime command is used to force a High Availability (HA) failover by resetting the uptime counter of the primary FortiGate, specifically when HA override is disabled.

Submitted by fatima_kr· Apr 18, 2026FortiGate Deployment and System Configuration

Question

Which of the following statement correct describes the use of the "diagnose sys ha reset- uptime" command?

Options

  • ATo force an HA failover when the HA override setting is disabled.
  • BTo force an HA failover when the HA override setting is enabled.
  • CTo clear the HA counters.
  • DTo restart a FortiGate unit that is part of an HA cluster.

How the community answered

(46 responses)
  • A
    91% (42)
  • B
    4% (2)
  • C
    2% (1)
  • D
    2% (1)

Why each option

The `diagnose sys ha reset-uptime` command is used to force a High Availability (HA) failover by resetting the uptime counter of the primary FortiGate, specifically when HA override is disabled.

ATo force an HA failover when the HA override setting is disabled.Correct

When HA override is disabled, the FortiGate with the longest uptime typically becomes the primary. Resetting the primary's uptime counter with this command makes a standby unit (with a now relatively longer uptime) assume the primary role, thus forcing a failover.

BTo force an HA failover when the HA override setting is enabled.

If HA override is enabled, the FortiGate with the highest configured priority (and optionally monitor interfaces up) will always remain the primary, regardless of its uptime, so resetting uptime would not force a failover.

CTo clear the HA counters.

This command specifically resets the uptime counter used in HA failover calculations, not general HA counters which typically include other metrics like session counts or synchronization status.

DTo restart a FortiGate unit that is part of an HA cluster.

This command is related to HA failover logic; to restart a FortiGate unit, the `execute reboot` command is used.

Concept tested: FortiGate HA failover control

Source: https://docs.fortinet.com/document/fortigate/7.4.0/fortios-cli-reference/192241/diagnose-sys-ha-reset-uptime

Topics

#FortiGate HA#HA Failover#HA Override#Diagnostic Commands

Community Discussion

No community discussion yet for this question.

Full NSE4 Practice