Owner's Manual

Bare Metal Provisioning (BMP) - Config | 27
You can set the system to retry downloading a configuration up to six times or to
automatically save the downloaded configuration or script on the switch.
After the configuration is applied, it can trigger a post configuration script to ensure
the configurations and switch functions are correct. This post configuration script can
only be triggered when the preconfiguration script is run.
Define configuration parameters on the DHCP server for each chassis based on the
chassis MAC Address or Vendor-Class-Identifier in DHCP offer 60 or combination
of both.
The system supports preconfiguration scripts in EXPECT, TCLSH, and ZSH.
Post Configuration Scripts
In BMP mode, after the preconfiguration script completes and the configuration
loads, you can run a post configuration script if one is present in the configuration
file.
To check the status of configured ports or protocols, use the post configuration script.
To set the host name of the system or perform additional configuration settings, use
the post configuration script. The system supports post configuration scripts in
EXPECT, TCLSH, and ZSH. If you installed the SmartScripts package in the Dell
switches, the system also supports post configuration scripts in PERL and Python.
Auto-Execution Scripts
An auto-execution (auto-exec) script is the same as a preconfiguration script except
that it is executed on every reboot in Normal mode.
Store scripts in a
flash://autoexec file. Auto-exec scripts are independent of
BMP.
Note: Dell Networking recommends adding the following f10do wrapper function at
the beginning of TCLSH and EXPECT scripts to display a properly formatted output
string:
# Execute F10do and return the output string
proc ExecF10Do {cmd_str} {
set str [exec f10do "$cmd_str"]
set tmp_str [string map {\n \r\n} $str ]
return $tmp_str
}
...
set out_str [ExecF10Do "show version"]
puts $out_str
...