How to Update Firmware via CLI

Description

This article describes how to update SonicWALL firmware using an FTP server,  SSH console, and SonicWALL CLI. Knowledge of SSH management,  FTP server configuration, and CLI configuration experience is required in order to complete this task. This article assumes both an FTP server, and SSH console are available. 

Cause

IT professionals who manage hundreds of SonicWALL firewalls may find this article useful as a reference for their own custom scripts.

Resolution

  1. Log into SonicWALL CLI by SSH on any interface with SSH management enabled
  2. Go into configuration mode by typing "conf" or "configuration" then hit enter
  3. Type: import firmware FTP FTP://FtpServerUsername:FtpServerPassword@ftpServerIPaddress/FilenameOfFirmware press enter
  4. Upload process begins; if you get an error about username or password or filename this is not a SonicWALL issue, check your FTP server/host settings. 
  5. Type "boot uploaded" to boot the new firmware then press enter
  6. SonicWall will ask if you are sure, type: "y" or "yes" press enter
  7. The upgrade process should complete after a few minutes. 

Here is a screen shot of a successful firmware upgrade via CLI: 

Image

CAUTION: You cannot enter the details above exactly as they are in the image. Use the screenshot as a reference to guide your own correct syntax, e.g., username, password, IPaddress

Related Articles

  • Supported SonicWall and 3rd party SFP and SFP+ modules that can be used with SonicWall NSA series
    Read More
  • NetExtender 10.3.4 Compatibility with SonicOS 7.3.2 and SonicOS 8.2.0
    Read More
  • What Chipset do SonicWall TZ Wireless or SonicWave series devices use ?
    Read More
not finding your answers?