Users Guide

Table Of Contents
Post-ZTD script
As a general guideline, use a post-ZTD script to perform any additional functions required to configure and operate the switch.
In the ZTD provisioning script, specify the post-ZTD script path for the POST_SCRIPT_FILE variable. You can use a script to
notify an orchestration server that the ZTD configuration is complete. The server can then configure additional settings on the
switch.
For example, during the ZTD phase, you can configure only a management VLAN and IP address, then allow an Ansible
orchestration server to perform complete switch configuration. Here is a sample curl script that is included in the post-ZTD
script to contact an Ansible server:
/usr/bin/curl -H "Content-Type:application/json" -k -X POST
--data '{"host_config_key":"'7d07e79ebdc8f7c292e495daac0fe16b'"}'
-u admin:admin https://10.16.134.116/api/v2/job_templates/9/callback/
ZTD commands
reload ztd
Reboots the switch and enables ZTD after the reload.
Syntax
reload ztd
Parameters None
Default ZTD is enabled.
Command Mode EXEC
Usage
Information
Use the reload ztd command to automatically upgrade OS10 and/or activate new configuration
settings. When you reload ZTD, you are prompted to confirm the deletion of the startup configuration.
Example
OS10# reload ztd
Supported
Releases
10.4.1.0 or later
show ztd-status
Displays the current ZTD status: enabled, disabled, or canceled.
Syntax
show ztd-status
Parameters None
Default None
Command Mode EXEC
Usage
Information
None
Examples
OS10# show ztd-status
-----------------------------------
ZTD Status : disabled
ZTD State : completed
Protocol State : idle
Reason : ZTD process completed successfully at Mon Jul 16
Dell EMC SmartFabric OS10 zero-touch deployment 113