
Using the PRO3X Command Line Interface (CLI)
PRO3X User Guide
–
Command Line Interface (CLI)
176 of 182
Windows PSCP command:
PSCP in Windows works in a similar way to the SCP.
▪
pscp -P <port> <user name>@<device ip>:/diag-data.zip <filename>
Uploading or Downloading Raw Configuration Data
You can download the raw configuration data of a specific PRO3X for review, backup or modification.
After modifying or creating any raw configuration data, you can upload it to a specific PRO3X for changing its configuration.
The uploaded raw configuration file can contain only partial configuration keys that you want to modify. Other settings that
are not contained in the uploaded file will remain unchanged.
Syntax of the raw configuration data is completely the same as the syntax in the config.txt file.
Warning: Some configuration keys in the downloaded raw configuration are commented out, and those must NOT be part of
the configuration that will be uploaded to any PRO3X.
To download raw configuration data:
1.
Type one of the following SCP commands and press Enter.
Scenario 1: Use the default SCP port and default filename
▪
SSH/SCP port is the default (22), and the accessed PRO3X is a standalone device.
▪
The raw configuration file's default filename "raw_config.txt" is wanted. Then add a dot (.) in the end
of the SCP command as shown below.
scp <user name>@<device ip>:/raw_config.txt .
Scenario 2: Specify a different SCP port but use the default filename
▪
SSH/SCP port is NOT the default (22), or the accessed PRO3X is a Port-Forwarding link device.
▪
The raw configuration file's default filename "raw_config.txt" is wanted. Then add a dot in the end of
the SCP command as shown below.
scp -P <port> <user name>@<device ip>:/raw_config.txt .
Scenario 3: Specify a new filename but use the default SCP port
▪
SSH/SCP port is the default (22), and the accessed PRO3X is a standalone device.
▪
Renaming the raw configuration file is wanted.
scp <user name>@<device ip>:/raw_config.txt <filename>
Scenario 4: Specify a different SCP port and a new filename
▪
SSH/SCP port is NOT the default (22), or the accessed PRO3X is a Port-Forwarding link device.
▪
Renaming the raw configuration file is wanted.
scp -P <port> <user name>@<device ip>:/raw_config.txt <filename>
▪
<user name>
is the "admin" or any user profile with Administrator Privileges.
▪
<device ip>
is the IP address or hostname of the PRO3X whose data you want to download.
Summary of Contents for Server Technology PRO3X
Page 1: ......