Fortiget 断电后firmware和config文件损坏的修复

 1.通过console连接fortiget;

2.重启机器,用命令:

FGT60C # execute reboot

This operation will reboot the system !

Do you want to continue? (y/n)

 

The system is going down NOW !!                               

 

System is rebooting...                      

 

FGT60C #               

Please stand by while rebooting the system.

Restarting system.

nit SSP ...OK

Read SPI ...OK

 

 

FortiGate-60C (18:52-06.18.2010)

Ver:04000010

Serial number: FGT60C3G10011492

CPU(00): 525MHz

Total RAM:  512 MB

NAND init... 128 MB

MAC Init... nplite#0

Press any key to display configuration menu...

...

 

[G]:  Get firmware image from TFTP server.

[F]:  Format boot device.

[I]:  Configuration and information.

[B]:  Boot with backup firmware and set as default.

[Q]:  Quit menu and continue to boot with default firmware.

[H]:  Display this list of options.

 

Enter G,F,I,Q,or H:

3.重刷firmware image并恢复出厂配置

a.从fortinet网站上下载out文件

b.启动你的tftp server

c.在上面界面中选G后按提示下一步。就可以完成重刷。

 

Enter G,F,I,Q,or H:

 

Please connect TFTP server to Ethernet port 'Any of port 1,2,3,4,5'.

 

Enter TFTP server address [192.168.1.168]: 192.168.11.36

Enter local address [192.168.1.188]: 192.168.11.1

Enter firmware image file name [image.out]: FGT_60C-v400-build0513-FORTINET.out

MAC:00:09:0f:de:b6:10

 

Connect to tftp server 192.168.11.36 ...

 

###############################################

Receiving Image OK.

Save as Default firmware/Backup firmware/Run image without saving:[D/B/R]? D

 

Programming the boot device now.

  ................... 41025536 bytes written: OK

 

reading boot image 1173618 bytes.

Initializing firewall...

 

System is started.

 

FGT60CXXXXXXX login: admin

Password:

Welcome !

 

FGT60CXXXXXXX # execute restore config tftp      (恢复原来的配置)

<string>    the file name on the tftp server

 

FGT60CXXXXXXX # execute restore config tftp FGT60C_20121120.conf 192.1

68.1.36

This operation will overwrite the current settings!

Do you want to continue? (y/n)y

 

Please wait...

 

Connect to tftp server 192.168.1.36 ...

 

Get config file from tftp server OK.

File check OK.

重启机器后恢复正常。

 

 

 

 

你可能感兴趣的:(cli,防火墙,修复,断电,fortiget)