Reference Guide

Table Of Contents
ZTD also generates failure messages.
[os10:notify], %Dell EMC (OS10) %ZTD-FAILED: Zero Touch Deployment failed to
download the image.
Troubleshoot configuration locked
When ZTD is enabled, the CLI configuration is locked. If you enter a CLI command, the error message configuration is
locked displays. To configure the switch, disable ZTD by entering the ztd cancel command.
OS10# configure terminal
% Error: ZTD is in progress(configuration is locked).
OS10# ztd cancel
ZTD DHCP server configuration
For ZTD operation, configure a DHCP server in the network by adding the required ZTD options; for example:
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;
option ztd-provision-url code 240 = text;
default-lease-time 600;
max-lease-time 7200;
subnet 50.0.0.0 netmask 255.255.0.0 {
range 50.0.0.10 50.0.0.254;
option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
}
host ztd-leaf1 {
hardware ethernet 90:b1:1c:f4:a9:b1;
fixed-address 50.0.0.8;
option ztd-provision-url "http://50.0.0.1/ztd.sh";
}
ZTD provisioning script
Create a ZTD script file that you store on an HTTP server. Configure the URL of the script using DHCP option 240 (ztd-
provision-url) on the DHCP server.
NOTE: Downloading the ZTD provisioning script is supported only on HTTP connections.
ZTD downloads and executes the script to upgrade the OS10 image, configure the switch, and execute a post-ZTD script to
perform additional functions.
Write the ZTD provisioning script in bash. Enter #!/bin/bash as the first line in the script. You can use the sample script
in this section as a basis.
For IMG_FILE, enter the URL path of the OS10 image to download and upgrade the switch. The image is written to the
standby partition.
For CLI_CONFIG_FILE, enter the URL path of the CLI batch file to download and execute.
For POST_SCRIPT_FILE, enter the URL path of the script to execute.
ZTD fails and exits to CLI configuration mode if:
You do not specify at least one valid URL for the IMG_FILE, CLI_CONFIG_FILE, and POST_SCRIPT_FILE variables.
Any of the IMG_FILE, CLI_CONFIG_FILE, and POST_SCRIPT_FILE entries are invalid or if specified, the files
cannot be downloaded.
For the IMG_FILE, CLI_CONFIG_FILE, and POST_SCRIPT_FILE files, you can specify HTTP, SCP, SFTP, or TFTP URLs.
For example:
scp://userid:passwd@hostip/filepath
sftp://userid:passwd@hostip/filepath
28
Getting Started