For When You Can't Have The Real Thing
[ start | index | login ]
start > FortiOS > 5.4 > CLI Upgrade Firmware

CLI Upgrade Firmware

Created by dave. Last edited by dave, 184 days ago. Viewed 245 times. #3
[diff] [history] [edit] [rdf]


Upgrading firmwares via the web UI is tedious, especially when you have 50 or 60+ of these fuckers to do.


You have to do this via tftp. This involves setting up a tftp server and making sure the appropriate firmware is A) loaded on it and B) available through it. (This is left as an exercise for the reader.)

# execute restore image tftp <filename> <tftp_ipv4>
The FortiGate unit uploads the firmware image file, upgrades to the new firmware version, and restarts. This process takes a few minutes.


Why, yes:

$ fnlogin -c 'execute restore image tftp FGT_100D-v5-build1165-FORTINET.out

This won't work if you are downgrading because there's an extra 'y' that has to be fed to the system to make it work. It does work if you are merely reloading the same version of the firmware that's already running even though it will tell you it is "downgrading".

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt