ZTP
nv show system ztp
Shows information about ZTP scripts on the switch, such as location and version, the date the script ran, and if it was a success.
Version History
Introduced in Cumulus Linux 5.2.0
Example
cumulus@switch:~$ nv show system ztp
operational applied
---------- -------------------------------------------- -------
script
location /var/lib/cumulus/ztp/ztp_script-202304261538
status
date 2023-04-26T15:38:42Z
method ZTP DHCP
result success
state disabled
url http://192.168.200.1/cumulus-ztp
version 1.0
nv show system ztp script
Shows the location of the ZTP scripts on the switch.
Version History
Introduced in Cumulus Linux 5.2.0
Example
cumulus@switch:~$ nv show system ztp script
operational applied
-------- -------------------------------------------- -------
location /var/lib/cumulus/ztp/ztp_script-202304261538
nv show system ztp status
Shows the status of the ZTPs script run on the switch.
Cumulus Linux 5.11 and later no longer provides this command; use nv show system ztp
instead.
Version History
Introduced in Cumulus Linux 5.2.0
Example
cumulus@switch:~$ nv show system ztp status
operational applied
------- -------------------------------- -------
date 2023-04-26T15:38:42Z
method ZTP DHCP
result success
state disabled
url http://192.168.200.1/cumulus-ztp
version 1.0