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

Reset Fortigate config from Fortimanager

Hello,
I am looking for a way to do a factory reset of a Fortigate from a Fortimanager.
I haven't found anything in the documentation about this.
Am I missing something or is it really not done?
Thanks in advance for your feedback.
Regards,

11 REPLIES 11
alazic
New Contributor

hello, I have some similar request with remote factory reset of the FortiGate from FortiManager. As I have a HA (active-passive) it it enough to issue command "execute factory-reset" just on primary node and both cluster members will be reset to factory defaults? If not what would be the proper procedure for having both node of the HA cluster reset to factory default remotely?

dingjerry_FTNT

Hi @alazic ,

 

No, running "execute factoryreset" (No dash in it) on Primary device will not factory reset both units.

 

What you can do:

 

1) Connect to the FGT HA cluster via SSH.

2) After login to the Primary unit, run "exe  ha manage" command to login to the slave unit.  You did not tell us what your FGT version is.  The command is changed a little so you can use the question mark to tell what the correct command is.

 

Here is the KB for the command:

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Managing-individual-cluster-units-with-the...

 

3) Run "exe factoryreset" on the slave device first.

 

4) Run "exe factoryreset" on the primary device later.

 

NOTE:

 

After the factory reset, you will lose the connection to the FGT devices via FMG.  You have to access to the FGT devices directly.

Regards,

Jerry
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors