Enable ZTP
ZTP can be force enabled to start up the ZTP process. After enabling ZTP, reboot the switch which triggers the ZTP process to kick start.
To force enable/disable ZTP on the switch, use the following command:
Reference
Command
ztp force <enable/run>
Description
Trigger ZTP process
Parameters
enable,run
Mode
EXEC
Example
Trigger ZTP manually -
When you run the above commands, the switch will:
It will Trigger the ZTP process and download the image, configuration, and script files.
Install the downloaded files.
Reboot the switch.
After rebooting, the switch will come up with the new image.
Trigger ZTP during reboot -
When you run the above commands, the switch will:
Trigger the ZTP process: The ZTP process will automatically kick in after the switch reboots. ZTP will download the image, configuration, and script files, if any.
Install the image, and configuration, and run any script files.
After the files are installed, the switch will automatically reboot.
Once the switch comes back up, it will be running the new image.
After any of the above methods, the ZTP will not be disabled automatically and will need to be manually enabled if required.