RSS

FortiGate: Upgrading the firmware via CLI

17 Jan

To use the following procedure, you must have a TFTP or FTP server that FortiDB can connect to. You must also log in using the “admin” administrator account.

  1. Start the FTP or TFTP server.
  2. Copy the new firmware image file to the FTP or TFTP server.
  3. Log into the CLI.
  4. Verify that FortiDB can connect to the FTP or TFTP server. For example, if the IP address of the TFTP server is 192.168.1.168, enter the CLI command:
    execute ping 192.168.1.168
    
  5. Enter the following command to copy the firmware image from the TFTP server to FortiDB:
    execute restore image ftp  
    execute restore image tftp  
    

    Where is the name and location of the firmware image file and or is the IP address of the FTP or TFTP server. For example, if the firmware image file name is image.out and the IP address of the FTP or TFTP server is 192.168.1.168, enter:

    execute restore image tftp image.out 192.168.1.168
    

    FortiDB responds with the message:

    This operation will replace the current firmware version!
    Do you want to continue? (y/n)
    
  6. Type y. FortiDB downloads the firmware image file, upgrades to the new firmware version, and restarts. This process takes a few minutes.
  7. Reconnect to the CLI.
  8. To confirm the new firmware image is successfully installed, enter:
    get system status
 
Leave a comment

Posted by on January 17, 2018 in Fortigate

 

Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: