Administrator Guide
Reload with a DHCP Server Offer Without a DNS Server
Reload the Dell Networking OS on a switch using a preconfiguration script.
To reload the Dell Networking OS on a switch using a preconfiguration script, the following must be true:
• BMP is enabled.
• The download of the script is from an external server and the location is specified in the DHCP offer.
• The first line of the script contains one of the following:
#!/usr/bin/expect
#!/usr/bin/tclsh
#!/usr/bin/zsh
• If you installed the SmartScripts package, the Dell Networking OS also supports preconfigurated
scripts in Perl, Python, and Ruby.
#!/usr/pkg/bin/perl
#!/usr/pkg/bin/python
• After the first line, but before the start of the script, the script contains the signature #/DELL-
NETWORKING.
• The preconfiguration script downloads instead of the configuration file.
• The preconfiguration script runs before applying the start-up configuration file.
• The preconfiguration script can use the Dell Networking OS CLI commands using the f10do utility.
• When the preconfiguration script completes, the start up configuration file automatically applies.
If a preconfiguration script file downloads successfully, the following SYSLOGs display:
00:03:07: %STKUNIT0-M:CP %BMP-2-BMP_DOWNLOAD_START: The config
file download has started.
00:03:19: %STKUNIT0-M:CP %BMP-5-BMP_DWNLD_FILE_IS_SCRIPT_FILE:
The downloaded file is a script file.
00:03:19: %STKUNIT0-M:CP
%BMP-5-BMP_DWNLD_CONFIG_SCRIPT_SUCCESS: The config/script file
download is successful.
00:03:21: %STKUNIT0-M:CP %BMP-5-BMP_PRE_CONFIG_SCRIPT_BEGIN:
The Pre-Config Script has started to Execute.
After the preconfiguration script executes successfully, the startup configuration file loads.
00:04:30: %STKUNIT0-M:CP %BMP-5-BMP_PRE_CONFIG_SCRIPT_END:
Pre-Config script completed with return status 0.
00:03:03: %STKUNIT0-M:CP %IFMGR-5-ASTATE_DN: Changed interface
Admin state to down: Ma 0/0.
00:03:03: %STKUNIT0-M:CP %IFMGR-5-OSTATE_DN: Changed interface
state to down: Ma 0/0.
00:03:03: %STKUNIT0-M:CP %SYS-5-CONFIG_LOAD: Loading
configuration file.
00:03:04: %STKUNIT0-M:CP %IFMGR-5-ASTATE_UP: Changed interface
Admin state to up: Ma 0/0.
If a post configuration script is present in the applied configuration file, it executes and the logs display:
00:04:22: %STKUNIT0-M:CP %BMP-5-BMP_POST_CONFIG_SCRIPT_BEGIN:
The Post-Config Script has started to Execute
..
00:05:15: %STKUNIT0-M:CP %BMP-5-BMP_POST_CONFIG_SCRIPT_END:
Post-Config script completed with return status 0.
26
Bare Metal Provisioning