Using the PRO3X Command Line Interface (CLI)
PRO3X User Guide
–
Command Line Interface (CLI)
175 of 182
Downloading Diagnostic Data via SCP
You can download the diagnostic data via SCP.
To download the diagnostic data via SCP:
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 diagnostic file's default filename "diag-data.zip" is wanted. Then add a dot (.) in the end of the
SCP command as shown below.
scp <user name>@<device ip>:/diag-data.zip .
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 diagnostic file's default filename "diag-data.zip" is wanted. Then add a dot in the end of the SCP
command as shown below.
scp -P <port> <user name>@<device ip>:/diag-data.zip .
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 diagnostic file is wanted.
scp <user name>@<device ip>:/diag-data.zip <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 diagnostic file is wanted.
scp -P <port> <user name>@<device ip>:/diag-data.zip <filename>
▪
<user name>
is the "admin" or any user profile with Administrator Privileges or "Unrestricted View Privileges"
privileges.
▪
<device ip>
is the IP address or hostname of the PRO3X whose data you want to download.
▪
<port> is the current SSH/SCP port number, or the port number of a specific link device in the Port-Forwarding chain.
▪
<filename>
is the new filename of the downloaded file.
2.
Type the password when prompted.
3.
The system downloads the specified data from the PRO3X onto your computer.
▪
If you do NOT specify a new filename in the command, such as Scenarios 1 or 2, the downloaded file's default name
is "diag-data.zip."
▪
If you specify a new filename in the command, such as Scenarios 3 or 4, the downloaded file is renamed accordingly.
SCP example:
scp admin@192.168.87.50:/diag-data.zip .
Summary of Contents for Server Technology PRO3X
Page 1: ......