Janu
ary 201
9
438 Legrand PDU User Guide
Script output will be recorded to a log file -- <BASENAME_OF_SCRIPT>.<SERIAL_NUMBER>.log. Note
this log file's size is limited on DHCP/TFTP.
A DHCP/TFTP-located script has a timeout of 60 seconds. After that duration the script will be removed.
This feature can be used to manage LuaService, such as upload, start, get output, and so on.
If you unplug the USB drive while the Lua script is still running, the script will be removed.
An exit handler can be used but the execution time is limited to three seconds. Note that this is not
implemented on DHCP/TFTP yet.
allow_downgrade
As of version 3.5.0, this parameter is required for any firmware
downgrade
via
USB drive
, or the
firmware upgrade via USB drive will fail.
Add this parameter to this configuration file and set its value to
yes
.
Tip: Only firmware downgrade via USB is disabled by default. To downgrade firmware using other
methods is still feasible by default, such as firmware downgrade via web interface.
config.txt
To perform device configuration using a USB drive, you must:
Copy the device configuration file "config.txt" to the root directory of the USB drive.
Reference the "config.txt" file in the
config
option of the "fwupdate.cfg" file. See
fwupdate.cfg
(on page
434).
The file,
config.txt
, is a text file containing a number of configuration keys and values to configure or update.
This section only introduces the device configuration file in brief, and does not document all configuration
keys, which vary according to the firmware version and your Legrand PDU model.
You can use Legrand's Mass Deployment Utility to create this file by yourself, or contact Legrand to get a
device configuration file specific to your Legrand PDU model and firmware version.
Tip: You can choose to encrypt important data in the "config.txt" file so that people cannot easily recognize it,
such as the SNMP write community string. See
Data Encryption in 'config.txt'
(on page 440).
Regular configuration key syntax:
Each configuration key and value pair is in a single line as shown below:
key=value
Note: Each value in the file must be separated by an equal sign (=), without any surrounding spaces.
Multi-line values are supported by using the
Here Document Syntax
with a user-chosen delimiter.
The following illustration declares a value in two lines. You can replace the delimiter
EOF
with other
delimiter strings.
key<<EOF
value line 1
value line 2
EOF
Note: The line break before the closing EOF is not part of the value. If a line break is required in the
value, insert an additional empty line before the closing EOF.
Special configuration keys:
There are 3 special configuration keys that are prefixed with
magic:
.
A special key that sets a user account's password without knowing the firmware's internal
encryption/hashing algorithms is implemented.
Содержание 1U
Страница 1: ...Legrand PDU User Guide Xerus Firmware v3 5 0 ...
Страница 2: ...Copyright 2019 Legrand Inc LG 0B v3 5 0 E January 2019 255 80 0054 00 ...
Страница 53: ...January 2019 Legrand PDU User Guide 53 ...
Страница 77: ...January 2019 Legrand PDU User Guide 77 4 Press to show the Network Cascading page ...