Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Umesh
Contributor

how to remove ha configuration from the CLI

Hi Team,

 

I just wanted to know how to remove ha configuration from the CLI however I tried to remove configuration from the using the below command but unfortunately couldn't remove it.

config system ha
unset set group-id 10
unset set group-name HA_cluster
unset set mode a-p
unset set password admin@54321
unset set priority 200
unset set hbdev port3 0
unset set session-pickup enable
unset set override enable
unset set override-wait-time 5
end

 

While removing the ha configuration I am getting an error code - command parse error before 'set'.

I thought that I should raise this issue with a Fortinet community member. Please help me  how to remove ha configuration from the CLI.

 

Regards,

Umesh

2 REPLIES 2
jintrah_FTNT
Staff
Staff

Hi Umesh,

 

You can set the mode to standalone first from a-p.

 

Best regards,

Jin

vsahu
Staff
Staff

You can use the below command:

 

config system ha
set mode standalone
unset group-name
unset password
unset hbdev
unset override
unset monitor
unset group-id
unset priority
unset session-pickup
end

When you change HA mode from "set mode a-p" to "set mode standalone" you would lose only some config inside of "config system ha", like hddev interface and monitoring interface, etc, but nothing else. 

so to remove it completely use the above mentioned command

Regards,

Vsahu

Regards,
Vishal
Labels
Top Kudoed Authors