June 2018
Legrand PDU User Guide 427
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.
IPv4 illustration example in dhcpd.conf:
DHCP IPv6 Configuration in Linux
Modify the "dhcpd6.conf" file for IPv6 settings when your DHCP server is running Linux.
Required Linux IPv6 settings in DHCP:
1. Locate and open the "dhcpd6.conf" file of the DHCP server.
2. The Legrand PDU will provide the following values to the "vendor-class" option (option 16). Configure
related settings in DHCP accordingly.
13742 (Raritan's IANA number)
Raritan PDU 1.0
15 (the length of the above string "Raritan PDU 1.0")
3. Set the following three sub-options in the "vendor-opts" (option 17).
code 1 (pdu-tftp-server) = the TFTP server's IPv6 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 IPv6 magic cookie is identical to or different
from the IPv4 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.