Users Guide

Table Of Contents
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 19:31:57
2018
-----------------------------------
OS10# show ztd-status
-----------------------------------
ZTD Status : disabled
ZTD State : failed
Protocol State : idle
Reason : ZTD process failed to download post script file
-----------------------------------
ZTD Status — Current operational status: enabled or disabled.
Zero-touch deployment 101