show system ztp
Command introduced in Junos OS Evolved Release 19.1R1.
Show Zero Touch Provisioning (ZTP) state information.
Required Privilege Level
List of Sample Outputshow system ztp
For a description of the output fields, see Table 1. Output fields are listed in the approximate order in which they appear. The state field can have multiple settings. The rest of the fields are self explanatory based on DHCP arguments provided by the server.
Table 1: show system ztp Output Fields
ZTP state field values for starting:
ZTP state field values for image download:
ZTP state field values for configuration download:
ZTP state field values for upgrading configuration:
ZTP state field values for upgrading image:
ZTP state field values for scripts:
ZTP state field values for reboot:
ZTP state field values for configuration commit:
ZTP state field values for finishing:
Name of interface.
When the log server, NTP server, or FTP server are on a remote subnet, the value of DefaultRouter is used to configure a route to reach the servers.
ZTP allows specification of a remote log server address. ZTP logs are then streamed to the remote log server.
ZTP allows specification of a remote NTP server address.
Options for TransferMode are ftp, tftp, http, or https
It can be a symbolic link.
This field specifies whether the config file is downloading, is downloaded, or the download is being retried.
If the ZTP state machine, which applies the image and configuration, fails, the number of retries attempted.
If the DHCP state machine, which fetches parameters for ZTP from the DHCP server, fails, the number of times it retries.
ZTP State History
Lists the last 10 state transitions by Time (date and time) and Description or which state it was in then.
show system ztp
user@host> show system ztp
Attribute Value -------------------------- ZtpState SUCCEEDED ZtpInterface vmb FtpIpAddr 10.92.14.35 TransferMode ftp ImageFileType None ImageStatus None ConfigStatus CONFIG DOWNLOADED ZtpRetryCount 0 DhcpRetryCount 0 ZTP State History(last 10 transitions) Time Description Mon Apr 29 18:38:58 2019 Succeeded