Reference Guide

Bare Metal Provisioning 3.0 (BMP 3.0) | 249
3. The pre-configuration script is downloaded instead of the configuration file.
4. The pre-configuration script is run before applying the start-up configuration file.
5. The pre-configuration script has the ability to use configuration FTOS CLI commands using the utility
name “F10do”.
6. When the pre-configuration script completes, the start-up configuration file will be automatically
applied.
Using the Post-Configuration Script (BMP mode only)
To reload FTOS on a switch using a pre-configuration script, the following conditions must be true:
BMP must be enabled.
The post-configuration script can be written in Expect, TCLSH, or ZSH. If the SmartScripts package is
already installed, the post-configuration script can also be written in PERL or Python.
No restraints are required for the post-configuration script, such as the signature “#/DELL-FORCE10
that is required for the pre-configuration script.
The post-configuration script must be configured by the
script post-config command.
The post-configuration script must be executed after the start-up configuration process required by
BMP has been applied.
The post-configuration script has the ability to use configuration FTOS CLI commands using the
utility name “F10do”.
Reload using the Auto-execution Script (Normal mode only)
To use the auto-execution script, the following conditions must be true:
BMP must be disabled.
The auto-execution script must always be stored in flash://autoexec
The auto-execution script can be written in Expect, TCLSH, or ZSH. If the SmartScripts package is
already installed, the post-configuration script can also be written in PERL or Python.
No restraints are required for the auto-execution script, such as the signature “#/DELL-FORCE10”
that is required for the pre-configuration script.
The auto-execution script has the ability to use configuration FTOS CLI commands using the utility
name “F10do”.
When the auto-execution script is complete, the start-up configuration is applied depending on the
return status of the script:
Success - 0: the start-up configuration is applied.
Failure - non-zero: the start-up configuration is not applied.