Service Manual
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 a combination of both.
The configuration scripts such as Perl, Python, and Ruby are supported if you pre-installed the SmartScript
package on the system.
The system supports pre–configuration scripts in EXPECT, TCLSH, and ZSH.
NOTE: To display a properly formatted output string, Dell Networking recommends adding the following
clido wrapper function at the beginning of TCLSH and EXPECT scripts:
# Execute clido and return the output string
proc Execclido {cmd_str} {
set str [exec clido "$cmd_str"]
set tmp_str [string map {\n \r\n} $str ]
return $tmp_str
}
...
set out_str [Execclido "show version"]
puts $out_str
...
Auto–execution Scripts
The auto–execution (auto–exec) script is the same as a pre–configuration script except that it runs on every
reboot in Normal mode.
Store scripts in a flash://autoexec file. Auto–exec scripts are independent of BMP.
The auto–exec script runs only when:
• BMP is disabled.
• The script is stored in a flash://autoexec file.
• Before reloading the system, use the boot-type normal-reload command in the reload-type sub
command mode.
If the auto–exec script fails, the system generates a message indicating the failure and does not load the
configuration file. Before continuing the upgrade, correct the error in the script.
Post–configuration Scripts
The post–configuration script runs after the start-up configuration is applied as script post-config
script-name. In BMP mode, after the pre-configuration script completes and the configuration loads, you
can run a post-configuration script if one is present in the configuration file. In normal reload, if there is
script post-config script-name config in the startup config file, post-configuration script executes.
To check the status of configured ports or protocols, 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 your Dell Networking switches, the
system also supports post-configuration scripts in Perl, Python, and Ruby.
Bare Metal Provisioning 31