FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
spathak
Staff
Staff
Article Id 198142

Description


This article describes how to access the secondary unit of the HA cluster via CLI.

Scope


From Version 6.2 and above.

Solution


In the HA cluster (Active-Active or Active-Passive) access to both units via CLI is possible.
To access the secondary unit via CLI  refer to the below command:

Below 6.2.0.


Run the below command in CLI:

 

execute ha manage [ID]                                <----- Where ID can be 0 or 1.

 

Example.

 

execute ha manage 0                                    < ----- If the ID of the secondary unit is 0.
execute ha manage 1                                   < ----- If the ID of the secondary unit is 1.

 

A further login prompt is presented for both username and password in the second unit. 

To view the available units and corresponding indexes:

 

exec ha manage ?

 

From 6.2.0 and above.

Run the below command to the primary unit CLI:

 

execute ha manage [ID] [username]

[username]@password: [password]

 

Example.

 

execute ha manage 1 EXAMPLE                                    < ----- 1 is the ID of the secondary unit and EXAMPLE is the admin username.

EXAMPLE@password:                                                        < ----- The password entered here will not be visible.