--- title: "Configuring automatic failover using the CLI" slug: "configuring-automatic-failover-using-the-cli" tags: ["Central Management System", "Install and Get Started"] updated: 2026-10-01T08:24:45Z published: 2026-10-01T08:24:45Z canonical: "docs.trellix.com/configuring-automatic-failover-using-the-cli" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring automatic failover using the CLI Use the commands in this section to configure whether the cluster should automatically fail over to the secondary node if a failover condition occurs. This setting does not have to be the same on both nodes. (See [Automatic failover](/network-and-platform/docs/introduction-1#automatic_failover) for information about this configuration option.) ### Note This is a local configuration. The configuration actions are performed from each node, and are applied to only that node. To disable automatic failover: 1. Log in to the node. 2. Enable the CLI configuration mode: ```plaintext node-hostname > enable node-hostname # configure terminal ``` 3. Disable automatic failover: ```plaintext node-hostname (config) # no ha node failover auto ``` 4. Verify your change: ```plaintext node-hostname (config) # show configuration ``` 5. Save your change: ```plaintext node-hostname (config) # write memory ``` To enable automatic failover: 1. Log in to the node. 2. Enable the CLI configuration mode: ```plaintext node-hostname > enable node-hostname # configure terminal ``` 3. Enable automatic failover: ```plaintext node-hostname (config) # ha node failover auto ``` 4. Verify your change: ```plaintext node-hostname (config) # show ha configuration ``` 5. Save your change: ```plaintext node-hostname (config) # write memory ``` ### Example The following example disables automatic failover on node2. ```plaintext node2 (config) # no ha node failover auto node2 (config) # show ha configuration CM HA Cluster Settings:   ...   Auto-failover:           no   ... ... ``` :