Connectivity Guide

Post-ZTD script
As a general guideline, use a post-ZTD script to perform any additional functions required to congure 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 conguration is complete. The server can then congure additional settings on the switch.
For example, during the ZTD phase, you can congure only a management VLAN and IP address, then allow an Ansible orchestration server
to perform complete switch conguration. 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 conguration settings. When
you reload ZTD, you are prompted to conrm the deletion of the startup conguration.
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
Getting Started 41