Ju
ne
20
18
396 Legrand PDU User Guide
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 the Administrator or "Unrestricted View
Privileges" privileges.
<device ip>
is the IP address of the Legrand PDU whose diagnostic 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 diagnostic file.
2. Type the password when the system prompts you to type it.
3. The system downloads the diagnostic data from the Legrand PDU onto your computer.
If you do NOT specify a new filename in the command, such as Scenario 1 or 2, the downloaded
file's default name is "diag-data.zip."
If you specify a new filename in the command, such as Scenario 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>