How to export settings from CLI (5.9, 6.1, 6.2)

Description

How to export settings from CLI (5.9, 6.1, 6.2)

Resolution

 

Feature/Application:


This article describes the method of exporting the settings via CLI (Command Line Interface) using putty (SSH) or a serial console connection to the UTM device.
In this scenario we need to have a FTP server. We can install one free FTP Server Application like Home FTP Server or FileZilla Server.



Procedure:

Step 1: Login to the UTM CLI using the Console connection or SSH  (For more info, refer How to Make a Console Cable for SonicWall TZ and NSA Hardware appliances (SW9559)

Step 2: Login as admin
Image


Step 3: 
Enter following commands:
(we need to know the FTP Server IP address, username and password)

For firmware version 5.9 the command is:

export current-config sonicos ftp ftp://user:password@ftpserverip/filename.exp



We could also export the settings to a txt file, but we won't be able to import a txt file to the UTM (but we will be able to see its content).


For firmware version 6.1 and 6.2:

export current-config exp ftp ftp://user:password@ftpserverip/filename.exp

Image



The procedure is simillar for firmware versions 5.8, 5.9, 6.1 and 6.2 ,but the comands are a little bit different.
In this scenario I have demonstrated how to export the configuration using FTP and firmware version 5.9 and Generation 6 firmware.


See Also:

How to login to the SonicWall UTM appliance using the Command Line Interface (CLI)

 

Related Articles

  • SonicOS 8.1.0 FAQ
    Read More
  • SonicWall GEN8 TZs and GEN8 NSas Settings Migration
    Read More
  • Getting started with SonicWall firewalls
    Read More
not finding your answers?