Ju
ne
20
18
Legrand PDU User Guide 395
To restore the settings via SCP:
1. Type the following SCP command and press Enter.
scp backup_settings.txt <user name>@<device ip>:/settings_restore
<user name>
is the "admin" or any user profile with the administrator privileges.
<device ip>
is the IP address of the Legrand PDU whose settings you want to restore.
2. Type the user password when prompted.
3. The system copies the configuration included in the file "backup_settings.txt" to the Legrand PDU, and
displays the following message.
Starting restore operation. The connection will be closed now.
SCP examples:
Backup operation:
scp [email protected]:/backup_settings.txt
Restoration operation:
scp backup_settings.txt [email protected]:/settings_restore
Windows PSCP commands:
PSCP in Windows works in a similar way to the SCP.
Backup operation:
pscp <user name>@<device ip>:/backup_settings.txt
Restoration operation:
pscp backup_settings.txt <user name>@<device ip>:/settings_restore
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 Legrand PDU 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 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 .