How to export SonicWall UTM settings from the CLI
03/26/2020 1,041 People found this article helpful 397,903 Views
Description
This article describes two methods to export the settings to a file from the command-line-interface (CLI) of the SonicWall UTM device.
Resolution
Export Preferences using MS Windows HyperTerminal when using a console cable:
Method 1: Export using Z-modem
- Connect the console cable to the SonicWall UTM device and the PC.
- Open HyperTerminal.
- Configure COM1 settings as per the screenshot.
Login to the CLI of the SonicWall UTM device. - Click on Transfer on the HyperTerminal window and select Receive File from the drop-down menu.
- Specifiy location for the exported file. The filename by default will be "PREFS.EXP" and cannot be changed.
- Select Zmodem with Crash Recovery from the drop-down under Use receiving Protocol.
- Click on Close.
- Enter the following command and press enter: export preferences
- The file "PREFS.EXP" will be saved in the location specified.
Method 2. Export using an FTP server
NOTE: If using the FTP option, make sure an FTP server is configured in the PC. The IP address of the FTP server, the username and password of the server and the name of the exported settings file listed here are for example only. You can substitute the same with the appropriate credentials for your network.
- Login to the CLI of the SonicWall UTM device.
- Enter the following command: export preferences ftp 192.168.168.168 test test settings.exp
In the above example, the FTP server is at IP address 192.168.168.168; the username and password for the server is "test"; the filename for the settings file is "PREFS.EXP" and it will be saved in the root directory of the FTP server.
Export Preferences using Putty when using console cable or using SSH:
Settings cannot be exported using the Z-modem protocol when using Putty. The command to export the settings using FTP are the same as in HyperTerminal.
In the above example, the FTP server is at IP address 192.168.168.168; the username and password for the server is "test"; the filename for the settings file is "PREFS.EXP" and it will be saved in the root directory of the FTP server.
Related Articles
Categories
Was This Article Helpful?
YESNO