Service Manual
• verify the integrity of the Dell Networking OS image the DHCP oer downloads
• dynamically decide what types of congurations to apply to your system based on various factors such as network reachability, port
status, or neighbor discovery
• use LLDP to monitor and generate reports for CPU and memory utilization, port trac status, and to perform link and topology
checking
You can provide a pre–conguration script in DHCP option 209 to either congure the switch or download a conguration le. The script
can download a conguration le or apply CLI commands. If present in the downloaded conguration, post-conguration script CLIs
execute.
You can set the system to retry downloading a conguration up to six times or to automatically save the downloaded conguration or script
on the switch.
After the conguration applies, it triggers a post–conguration script to ensure that the congurations and switch functions are correct.
Dene conguration parameters on the DHCP server for each chassis based on the chassis MAC Address or Vendor–Class–Identier in
DHCP oer 60 or a combination of both.
The conguration scripts such as Perl, Python, and Ruby are supported if you pre-installed the SmartScript package on the system.
The system supports pre–conguration 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–conguration script except that it runs on every reboot in Normal mode.
Store scripts in a flash://autoexec le. 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 le.
• 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 conguration le. Before
continuing the upgrade, correct the error in the script.
Post–conguration Scripts
The post–conguration script runs after the start-up conguration is applied as script post-config script-name. In BMP mode,
after the pre-conguration script completes and the conguration loads, you can run a post-conguration script if one is present in the
conguration le. In normal reload, if there is
script post-config script-name cong in the startup cong le, post-conguration
script executes.
Bare Metal Provisioning
25