Request Commands
request firmware upgrade
This command upgrades the device firmware.
Syntax
request firmware upgrade <file path>
The following file path formats are supported.
[user@]host2:]file2
scp://user@host:file
sftp://user@ host:file
file:///local_file_path
ftp://user@ host:file
tftp://host:file
For example, request firmware upgrade scp://user1@10.35.2.41:/home/user1/Desktop/fortiguest_VM64-v1.0.0-build0003-FORTINET.tar.fwout
Output
fortiguest> request firmware upgrade scp://user1@10.35.2.45:/home/user1/Desktop/fortiguest_VM64-v1.0.0-build0003-FORTINET.tar.fwout
Trying to upgrade to firmware at:scp://user1@10.35.2.45:/home/user1/Desktop/fortiguest_VM64-v1.0.0-build0003-FORTINET.tar.fwout
user1@10.35.2.45's password:
fortiguest_VM64-v1.0.0-build0003-FORTINET.tar.fwout 100% 319MB 329.2MB/s 00:00
firmware_upgrade : Firmware is in proprietary format.
Converting [fortiguest_VM64-v1.0.0-build0003-FORTINET.tar.fwout] from proprietary image format.
Image generated, cleaning up...
Validating generated image.
Image converted to generic tar format and renamed as [/tmp/fortiguest_VM64-v1.0.0-build0003-FORTINET.tar].
Image validated.
firmware_upgrade : Extracting .....
You can upload a file using TFTP and upgrade, for example, request firmware upgrade tftp://10.37.1.1:fortiguest_VM64-v1.0.0-build0016-FORTINET.tar
request system
This command requests the system to perform specific tasks such as reboot, halting the system, and drops in the system shell.
Syntax
request system
The following parameters are available for this command.
reboot
- Reboots the device.shell
- Drops in system shell.halt
- Halts system.manufacturing_halt
- Removes the configured password and stops the system.