Users Guide

Table Of Contents
3. If you specify an OS10 CLI batch file with configuration commands for CLI_CONFIG_FILE, ZTD executes the commands in
the PRE-CONFIG and POST-CONFIG sections. After executing the PRE-CONFIG commands, the switch reloads with the
new OS10 image and then executes the POST-CONFIG commands. For more information, see ZTD CLI batch file.
4. If you specify a post-ZTD script file for POST_SCRIPT_FILE, ZTD executes the script. For more information, see Post-ZTD
script.
NOTE: The ZTD process performs a single switch reboot. The switch reboot occurs only if either a new OS10 image is
installed or if the PRE-CONFIG section of the CLI batch file has configuration commands that are executed.
ZTD prerequisites
Store the ZTD provisioning script on a server that supports HTTP connections.
Store the OS10 image, CLI batch file, and post-ZTD script on a file server that supports either HTTP, FTP, SFTP, or TFTP
connections.
Configure the DHCP server to provide option 240 that returns the URL of the ZTD provisioning script.
In the ZTD provisioning script, enter the URL locations of an OS10 image, CLI batch file, and/or post-ZTD script. Enter at
least one URL, otherwise the ZTD fails and exits to CLI Configuration mode.
ZTD guidelines
You can store the ZTD provisioning script, OS10 image, CLI batch file, and post-ZTD script on the same server, including the
DHCP server.
Write the ZTD provisioning script in bash.
Write the post-ZTD script in bash or Python. Enter #!/bin/bash or #!/usr/bin/python as the first line in the script.
The default python interpreter in OS10 is 2.7. Use only common Linux commands, such as curl, and common Python language
constructs. OS10 only provides a limited set of Linux packages and Python libraries.
ZTD is disabled by default on automatically provisioned switch fabrics, such as Isilon backend, PowerEdge MX, and VxRail.
Cancel ZTD in progress
To exit ZTD mode and manually configure a switch by entering CLI commands, stop the ZTD process by entering the ztd
cancel command. You can enter ztd cancel only when ZTD is in a waiting state; that is, before it receives an answer from
the DHCP server. Otherwise, the command returns an error message; for example:
OS10# ztd cancel
% Error: ZTD cancel failed. ZTD process already started and cannot be cancelled at this
stage.
Disable ZTD
To disable ZTD, enter the reload command. The switch reboots in ZTD disabled mode.
Re-enable ZTD
To automatically upgrade OS10 and/or activate new configuration settings, re-enable ZTD by rebooting the switch using the
reload ztd command. You are prompted to confirm the deletion of the startup configuration.
NOTE:
To upgrade OS10 without losing the startup configuration, back up the startup configuration before ZTD runs the
provisioning script. Then use the backup startup configuration to restore the previous system configuration.
OS10# reload ztd
This action will remove startup-config [confirm yes/no]:
View ZTD status
OS10# show ztd-status
-----------------------------------
ZTD Status : disabled
ZTD State : completed
Protocol State : idle
Reason : ZTD process completed successfully at Mon Jul 16 19:31:57 2018
-----------------------------------
ZTD logs
128
Dell EMC SmartFabric OS10 zero-touch deployment