Service Manual

Using the Pre–configuration Script
To pre–configure the scripts, follow these steps:
1 Decide what information you want to pre–configure; for example, request username and password
information. Verify the integrity of the boot image the DHCP offer downloads and apply the
configuration types.
2 Create a pre–configuration script in EXPECT, TCL or ZSH.
3 Store the script on any TFTP/FTP/SFTP server that is reachable from the system and mention the URL file
(TFTP/FTP/SFTP) in the DHCP offer.
4 Change the reload-type to BMP and reload the switch. The system boots in BMP mode.
5 The system receives an IP address via the DHCP server which it uses to get a Dell Networking OS image
to boot, a configuration file (if supplied), and a pre–configuration script.
6 The system runs the pre–configuration script.
The default timer on the script is 10 minutes. The maximum amount of time the script can run is
one hour.
7 The pre–configuration script can access Dell Networking OS CLI commands through the clido utility.
The clido utility has no pagination, is always set to terminal length 0, and has Dell Networking OS
CLI privilege 15 enabled. It works in the following modes:
Continuous mode (clido command) — use to retain the Dell Networking OS context.
Reset mode (clido -r command) — use to reset the CLI command to its original context.
8 To execute CLI commands during boot time, the system uses the clido utility.
Using the Post-configuration Script
To run the post-configuration script, ensure the following:
You can write the post–configuration script in EXPECT, TCLSH, or ZSH. If you installed the SmartScripts
package, you can also write the post-configuration script in Perl, Python, or Ruby.
No restraints are required for the post–configuration script; for example, the signature #/DELL-
NETWORKING that is required for the pre–configuration script is not required for the post-configuration
script.
Configure the post–configuration script by using the script post-config command.
Reload the device (either in BMP mode or Normal reload-type mode).
Execute the post–configuration script after the start-up configuration process is applied.
The post-configuration script has the ability to use Dell Networking OS CLI commands using the utility
name clido.
If the script post-config script is present in the startup–config file, irrespective of the reload-
type, upon reload and after the configuration file is loaded, the post–config runs.
Bare Metal Provisioning 32