Fortinet white logo
Fortinet white logo

CLI Reference

execute ha force standby

execute ha force standby

Use this command to force the current HA node into standby status for the specified traffic-group. This is only supported in HA VRRP mode.

Syntax

execute ha force standby {traffic-group <traffic group name>|default} {set|unset}

execute ha force standby {traffic-group <traffic group name>|default} status

traffic-group <traffic group name>

If the traffic-group option is selected, then forced standby will apply to the specified traffic group.

default

If the default option is selected, then forced standby will apply to the local device traffic group.

set

Enables forced standby to apply to the selected traffic group option. Once enabled, all traffic in the traffic group will be taken over.

unset

Disables the forced standby command to allow the selected traffic group to become active again.

status

Allows you to view whether the forced standby command has been set or unset for the selected traffic group.

Example

FADC # execute ha force standby traffic-group default set
This operation will make traffic group on this device force to standby, all traffic in this traffic group will be taken over!
Do you want to continue? (y/n)y
HA force standby traffic-group of default is set.
FADC # execute ha force standby traffic-group default status 
HA force standby traffic-group of default is set.
FADC # execute ha force standby traffic-group default unset
HA force standby traffic-group of default is unset.

execute ha force standby

execute ha force standby

Use this command to force the current HA node into standby status for the specified traffic-group. This is only supported in HA VRRP mode.

Syntax

execute ha force standby {traffic-group <traffic group name>|default} {set|unset}

execute ha force standby {traffic-group <traffic group name>|default} status

traffic-group <traffic group name>

If the traffic-group option is selected, then forced standby will apply to the specified traffic group.

default

If the default option is selected, then forced standby will apply to the local device traffic group.

set

Enables forced standby to apply to the selected traffic group option. Once enabled, all traffic in the traffic group will be taken over.

unset

Disables the forced standby command to allow the selected traffic group to become active again.

status

Allows you to view whether the forced standby command has been set or unset for the selected traffic group.

Example

FADC # execute ha force standby traffic-group default set
This operation will make traffic group on this device force to standby, all traffic in this traffic group will be taken over!
Do you want to continue? (y/n)y
HA force standby traffic-group of default is set.
FADC # execute ha force standby traffic-group default status 
HA force standby traffic-group of default is set.
FADC # execute ha force standby traffic-group default unset
HA force standby traffic-group of default is unset.