Fortinet black logo

fw-upgrade

fw-upgrade

Upgrade or re-install the FortiSandbox firmware or VM or FortiGuard engines via SCP, FTP, or HTTPS server. Before running this option, download the firmware or VM or FortiGuard engines file to a server that supports file copy via FTP/SCP/HTTPS.

For firmware installation, the system will reboot after the firmware is downloaded and installed.

This CLI supports proxy server by -x option.

Syntax

fw-upgrade [-h|-b|-v|-e|-x]

Option

Description

-h

Help information.

-b

Download an image file from this server and upgrade the firmware.

-v

Download a VM image file from this server and install.

-e

Download a system rating/tracer engine from this server and install.

Option

Description

-t<ftp|https|scp>

The protocol type, FTP/HTTPS/SCP. The default is scp.

-s<SCP/FTP/HTTPS server IP address>

Download an image file from this server IP address.

-u<user name>

The user name for authentication.

-f<full path of filename>

The full path for the image file.

-x[t|s|p|u|w]

Proxy server configuration.

Option

Description

-xt[http|socks4|socks5]

Proxy server type.

-xs

Proxy server IP or FQDN name.

-xp

Proxy server port.

-xu

Proxy server authentication username.

-xw

Proxy server authentication password.

Example

Download a VM image file from the server and install:

fw-upgrade -v -tscp -s172.17.58.136 -utest -f/home/test/WIN7X64VM.pkg

Install using the proxy server:
  1. Install the firmware image:

    fw-upgrade -b -tscp -s10.10.10.8 -ufsauser -f/home/fsa-test/vm2364.deb -ppassword -xthttp -xs10.10.9.8 -xp808 -xuproxyuser1 -xwproxypassword

  2. Install the VM in FortiSandbox:

    fw-upgrade -v -thttps -sfsavm.fortinet.net -f/images/v4.00/AndroidVM_2.pkg -xthttp -xs10.10.9.8 -xp808 -xuproxyuser1 -xwproxypassword

  3. Install the FortiGuard package:

    fw-upgrade -e -tscp -s10.10.10.8 -ufsauser -f/home/fsa-test/t440.pkg -ppassword -xtsocks5 -xs10.10.9.8 -xp1080 -xuproxyuser1 -xwproxypassword

fw-upgrade

Upgrade or re-install the FortiSandbox firmware or VM or FortiGuard engines via SCP, FTP, or HTTPS server. Before running this option, download the firmware or VM or FortiGuard engines file to a server that supports file copy via FTP/SCP/HTTPS.

For firmware installation, the system will reboot after the firmware is downloaded and installed.

This CLI supports proxy server by -x option.

Syntax

fw-upgrade [-h|-b|-v|-e|-x]

Option

Description

-h

Help information.

-b

Download an image file from this server and upgrade the firmware.

-v

Download a VM image file from this server and install.

-e

Download a system rating/tracer engine from this server and install.

Option

Description

-t<ftp|https|scp>

The protocol type, FTP/HTTPS/SCP. The default is scp.

-s<SCP/FTP/HTTPS server IP address>

Download an image file from this server IP address.

-u<user name>

The user name for authentication.

-f<full path of filename>

The full path for the image file.

-x[t|s|p|u|w]

Proxy server configuration.

Option

Description

-xt[http|socks4|socks5]

Proxy server type.

-xs

Proxy server IP or FQDN name.

-xp

Proxy server port.

-xu

Proxy server authentication username.

-xw

Proxy server authentication password.

Example

Download a VM image file from the server and install:

fw-upgrade -v -tscp -s172.17.58.136 -utest -f/home/test/WIN7X64VM.pkg

Install using the proxy server:
  1. Install the firmware image:

    fw-upgrade -b -tscp -s10.10.10.8 -ufsauser -f/home/fsa-test/vm2364.deb -ppassword -xthttp -xs10.10.9.8 -xp808 -xuproxyuser1 -xwproxypassword

  2. Install the VM in FortiSandbox:

    fw-upgrade -v -thttps -sfsavm.fortinet.net -f/images/v4.00/AndroidVM_2.pkg -xthttp -xs10.10.9.8 -xp808 -xuproxyuser1 -xwproxypassword

  3. Install the FortiGuard package:

    fw-upgrade -e -tscp -s10.10.10.8 -ufsauser -f/home/fsa-test/t440.pkg -ppassword -xtsocks5 -xs10.10.9.8 -xp1080 -xuproxyuser1 -xwproxypassword