![Black Box LES1516A User Manual Download Page 61](http://html1.mh-extra.com/html/black-box/les1516a/les1516a_user-manual_2762893061.webp)
61
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
CHAPTER 4: SYSTEM CONFIGURATION
runs etc/scripts/backup-url to restore the backed-up configuration using the file declared in option 43, sub-option 1 of the DHCP
OFFER. (The script’s name is historical: it is based on configuration backup and restore logic.)
4.7.7 THE URLS IN DCHP OFFER, OPTION 43, SUB-OPTION 1
URLs offered in DCHP OFFER, option 43, sub-option 1 are parsed by /etc/scripts/backup-url using substrings in the configuration
backup’s filename to determine the choice order. The order is as follows.
TABLE 4-2. CHOICE ORDER FOR URLS
SUB-STRING
REPLACED BY
EXAMPLE
${mac}
the device’s 12-digit MAC address, in lowercase
0013b600b669
${model}
the device’s full model name, in lowercase
les1708a
${class}
the firmware’s hardware class
les1700
${version}
the firmware’s version number
4.1.0u3
Once downloaded, a configuration file is checked:
if it is a .opg file, its header is checked for compatibility with the current device.
if it is a .xml file, a parse check is made.
In both cases, if the check fails, the downloaded file is abandoned and the next URL is tried.
4.7.8 IMPORTING THE CONFIGURATION FILE
Once a downloaded configuration file passes the appropriate check, the console server:
imports the downloaded and checked configuration file.
checks the configuration file for a hostname to set itself to.
If no hostname can be set, the console server defaults to
${model}-${mac}
(That is, it sets its hostname to the device’s full model name, followed by a hyphen, followed by the device’s MAC address.)
checks that it is still unconfigured.
sets the network interface mode to DHCP.
This, in effect, forces the console server into a configured state, preventing a reboot loop from occurring.
returns a reboot-necessary flag.
This last action ensures the now configured console server reboots.