Fortinet white logo
Fortinet white logo

CLI Reference

execute ha

execute ha

ha

This topic includes the following commands:

execute ha disconnect

Disconnect from HA cluster.

execute ha disconnect <string> <string> <ip> <netmask>

Parameter

Description

Type

Size

<string>

Serial number.

string

<string>

Interface name.

string

<ip>

IP or subnet of the interface.

string

<netmask>

Netmask of the interface.

string

execute ha failover set

Set the given virtual cluster as secondary and trigger failover. Argument optional; if argument omitted, all virtual clusters are affected.

execute ha failover set [integer]

Parameter

Description

Type

Size

[integer]

Virtual cluster ID. Optional; if not given, all virtual clusters are affected.

string

execute ha failover status

Display whether the given virtual cluster has been set as secondary for failover. Argument optional; if no argument given, display statuses of all virtual clusters.

execute ha failover status [integer]

Parameter

Description

Type

Size

[integer]

Virtual cluster ID. Optional; if not given, all virtual clusters are affected.

string

execute ha failover unset

If the given virtual cluster has been set as secondary before, unset it so HA will use normal criteria to decide the primary. May trigger a failover. Argument optional; if argument not given, all virtual clusters are affected.

execute ha failover unset [integer]

Parameter

Description

Type

Size

[integer]

Virtual cluster ID. Optional; if not given, all virtual clusters are affected.

string

execute ha ignore-hardware-revision disable

disable HA ignore hardware revision mode

execute ha ignore-hardware-revision disable

execute ha ignore-hardware-revision enable

enable HA ignore hardware revision mode

execute ha ignore-hardware-revision enable

execute ha ignore-hardware-revision status

display HA ignore hardware revision mode

execute ha ignore-hardware-revision status

execute ha manage

HA cluster index.

execute ha manage <string> <string>

Parameter

Description

Type

Size

<string>

HA cluster index.

string

<string>

Login admin name.

string

execute ha synchronize

HA synchronize commands.

execute ha synchronize <string>

Parameter

Description

Type

Size

<string>

File type.

string

execute ha

execute ha

ha

This topic includes the following commands:

execute ha disconnect

Disconnect from HA cluster.

execute ha disconnect <string> <string> <ip> <netmask>

Parameter

Description

Type

Size

<string>

Serial number.

string

<string>

Interface name.

string

<ip>

IP or subnet of the interface.

string

<netmask>

Netmask of the interface.

string

execute ha failover set

Set the given virtual cluster as secondary and trigger failover. Argument optional; if argument omitted, all virtual clusters are affected.

execute ha failover set [integer]

Parameter

Description

Type

Size

[integer]

Virtual cluster ID. Optional; if not given, all virtual clusters are affected.

string

execute ha failover status

Display whether the given virtual cluster has been set as secondary for failover. Argument optional; if no argument given, display statuses of all virtual clusters.

execute ha failover status [integer]

Parameter

Description

Type

Size

[integer]

Virtual cluster ID. Optional; if not given, all virtual clusters are affected.

string

execute ha failover unset

If the given virtual cluster has been set as secondary before, unset it so HA will use normal criteria to decide the primary. May trigger a failover. Argument optional; if argument not given, all virtual clusters are affected.

execute ha failover unset [integer]

Parameter

Description

Type

Size

[integer]

Virtual cluster ID. Optional; if not given, all virtual clusters are affected.

string

execute ha ignore-hardware-revision disable

disable HA ignore hardware revision mode

execute ha ignore-hardware-revision disable

execute ha ignore-hardware-revision enable

enable HA ignore hardware revision mode

execute ha ignore-hardware-revision enable

execute ha ignore-hardware-revision status

display HA ignore hardware revision mode

execute ha ignore-hardware-revision status

execute ha manage

HA cluster index.

execute ha manage <string> <string>

Parameter

Description

Type

Size

<string>

HA cluster index.

string

<string>

Login admin name.

string

execute ha synchronize

HA synchronize commands.

execute ha synchronize <string>

Parameter

Description

Type

Size

<string>

File type.

string