Fortinet black logo

Session-Aware Load Balancing Cluster Guide

diagnose system ha force-slave-state

5.2.10
Copy Link
Copy Doc ID 31a89d05-200d-11e9-b6f6-f8bc1258b856:676348
Download PDF

diagnose system ha force-slave-state

Set an individual FortiController unit or chassis to switch to secondary mode (slave state). You can set devices to operate in secondary mode, view which devices have been forced into this mode, and clear the force mode settings. You must enter this command form the primary FortiController’s CLI.

diagnose system ha force-slave-state {by-chassis | by-serial-number | clear | show}

  • by-chassis force a chassis to be slave
  • by-serial-number force up to 3 devices to be slave by serial number
  • clear clear force settings from the cluster
  • show show current force state

The following example shows how to force chassis 1 to operate in passive mode (slave state). The command delays applying the passive mode state by 20 seconds.

diagnose system ha force-slave-state by-chassis 20 1

diagnose system ha force-slave-state

Set an individual FortiController unit or chassis to switch to secondary mode (slave state). You can set devices to operate in secondary mode, view which devices have been forced into this mode, and clear the force mode settings. You must enter this command form the primary FortiController’s CLI.

diagnose system ha force-slave-state {by-chassis | by-serial-number | clear | show}

  • by-chassis force a chassis to be slave
  • by-serial-number force up to 3 devices to be slave by serial number
  • clear clear force settings from the cluster
  • show show current force state

The following example shows how to force chassis 1 to operate in passive mode (slave state). The command delays applying the passive mode state by 20 seconds.

diagnose system ha force-slave-state by-chassis 20 1