Janu
ary 201
9
458 Legrand PDU User Guide
Important: The magic cookie is transmitted to and stored in Legrand PDU at the time of executing the
"fwupdate.cfg" commands. The DHCP/TFTP operation is triggered only when there is a mismatch
between the magic cookie in DHCP and the one stored in Legrand PDU. Therefore, you must modify the
magic cookie's value in DHCP when intending to execute the "fwupdate.cfg" commands next time.
DHCP IPv4 Configuration in Linux
Modify the "dhcpd.conf" file for IPv4 settings when your DHCP server is running Linux.
Required Linux IPv4 settings in DHCP:
1. Locate and open the "dhcpd.conf" file of the DHCP server.
2. The Legrand PDU will provide the following value of the vendor-class-identifier option (option 60).
vendor-class-identifier = "Raritan PDU 1.0"
Configure the same option in DHCP accordingly. The Legrand PDU accepts the configuration or
firmware upgrade only when this value in DHCP matches.
3. Set the following three sub-options in the "vendor-encapsulated-options" (option 43).
code 1 (pdu-tftp-server) = the TFTP server's IPv4 address
code 2 (pdu-update-control-file) = the name of the control file "fwupdate.cfg"
code 3 (pdu-update-magic) = any string
This third option/code is the magic cookie to prevent the
fwupdate.cfg
commands from being
executed repeatedly. It does NOT matter whether the IPv4 magic cookie is identical to or different
from the IPv6 magic cookie.
The magic cookie is a string comprising numerical and/or alphabetical digits in any format. In the
following illustration diagram, it is a combination of a date and a serial number.