If you want commands to be delivered to an unconfigured device before the ZTP process starts, upload a pre-configuration script to the device.
FTP, TFTP, or SFTP can be used to upload the script. For upload details, see Using FTP to Access Other Devices, Using TFTP to Access Other Devices, or Using SFTP to Access Other Devices. Select an upload mode as needed.
The pre-configuration script is loaded.
To disable a device from starting the ZTP process at device startup with base configuration, run the reset ztp pre-configuration command to clear the pre-configuration script.
The ZTP status (including the status the pre-configuration script) is displayed.
When the system software is upgraded from an earlier version to the current version, the loaded pre-configuration script is executed (to prevent this loaded pre-configuration script from being executed, run the reset ztp pre-configuration command) only if the configuration file set for startup is vrpcfg.zip.