Janu
ary 201
9
Legrand PDU User Guide 427
For device-specific settings in the
<config file>
, refer each device-specific configuration key
to a specific column in the
<dev_list file>
. See
config.txt
<dev_col>
comprises "serial:" or "mac:" and the number of the column where the serial number or
MAC address of each Legrand PDU is in the uploaded CSV file. This is the data based on which
each device finds its device-specific settings.
For example:
If the second column contains each device's serial number, the parameter is then
serial:2
.
If the seventh column contains each device's MAC address, the parameter is then
mac:7
.
SCP examples:
Raw configuration download example --
scp admin@192.168.87.50:/raw_config.txt config.txt
Raw configuration upload example with the configuration file only --
scp config.txt admin@192.168.87.50:/raw_config_update
Raw configuration upload example with both configuration and device list files --
scp devices.csv config.txt admin@192.168.87.50:/raw_config_update
/match=serial:2
Windows PSCP commands:
PSCP in Windows works in a similar way to the SCP.
pscp -P <port> <user name>@<device ip>:/raw_config.txt <filename>
pscp -P <port> <CSV file> <config file> <user name>@<device ip>:/raw_config_update
/match=<col>
Alternative of bulk configuration via SCP:
Both the methods of uploading 'bulk configuration' file or 'raw configuration' file via SCP can serve the
purpose of bulk configuration. The only difference is that you can configure
device-specific
settings with the
upload of raw configuration but not with the 'bulk configuration' file.
Bulk Configuration via SCP
(on page 420)
Keys that Cannot Be Uploaded
The raw configuration downloaded from any Legrand PDU contains a few configuration keys that are
commented out with either syntax below.
Comment syntax
Description
#INTERNAL#
These keys are internal ones. They are
NOT user configurable settings.
#OLD/INVALID#
These keys are old or invalid ones.
Note that these configuration keys cannot be part of the configuration that you will upload to any Legrand
PDU. That is, they should be either not available or they remain to be commented out in the configuration file
you will upload.