/
Enabling or Disabling Zero Touch Provisioning

Enabling or Disabling Zero Touch Provisioning

ZTP (Zero Touch Provisioning) is enabled by default on PicOS switches.

If ZTP is left enabled, the PicOS switch will try to download a new script every time the switch is booted. This is not a desirable situation, so ZTP should be disabled when it is no longer needed.

There are two methods to disable (or enable) ZTP, as detailed below:

The first method to configure ZTP is via the ztp-config script included with PicOS, which uses the Zero Touch Provisioning API. The following example disables ZTP using the ztp-config script run from the Linux shell:

admin@LEAF-A$sudo ztp-config
Please configure the default PicOS ZTP options:
 (Press other key if no change)
    [1]  PicOS ZTP enabled   * default
    [2]  PicOS ZTP disabled
Enter your choice (1,2):2
PicOS ZTP is disabled.

admin@LEAF-A$

The second method requires user to manually edit the PicOS configuration file picos_start.conf and change the value of the ztp_disable variable. The following snippet from the PicOS configuration file shows that ZTP has been disabled (ztp_disable=true).

admin@LEAF-A$more /etc/picos/picos_start.conf | grep ztp
ztp_disable=true

To enable ZTP, user needs to set ztp_disable to false.

Copyright © 2025 Pica8 Inc. All Rights Reserved.