Janu
ary 201
9
462 Legrand PDU User Guide
For
example:
https://admin:[email protected]/cgi-bin/raw_config_download.cgi
URL without login credentials contained:
If you would like to log in after issuing the download request, type an URL without login credentials contained
in the web browser. The system will then prompt you to enter the login credentials.
http(s)://<device IP>/cgi-bin/raw_config_download.cgi
For
example:
https://192.168.84.114/cgi-bin/raw_config_download.cgi
Download via Curl
If you have installed curl on your computer, you can download the raw configuration from your Legrand PDU
by performing the curl command.
To download raw configuration from Legrand PDU via curl:
1. Type the following curl command in the command line interface.
curl -k https://<user>:<password>@<device
IP>/cgi-bin/raw_config_download.cgi > config.txt
Parameter
Description
<user>
Any user name that has the Administrator
Privileges.
<password>
The password of the specified user name.
<device IP>
Hostname or IP address of the Legrand PDU
whose raw configuration you want to download.
2. When the download is complete, a line indicates 100 in the first % column.
3. Go to the directory where you perform the curl command to find the "config.txt" file.
Tip: In the above curl command, you can replace the filename "config.txt" with any filename you prefer.
Example: