Janu
ary 201
9
424 Legrand PDU User Guide
Scenario 2: Specify a different SCP port but use the default filename
SSH/SCP port is NOT the default (22), or the accessed Legrand PDU is a
Port-Forwarding slave 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 Legrand PDU 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 Legrand PDU is a
Port-Forwarding slave 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 Legrand PDU whose data you want to download.
<port> is the current SSH/SCP port number, or the port number of a specific slave 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 Legrand PDU 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 .
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>