request system zeroize ztp-option secure
Syntax
request system zeroize ztp-option secure-(enable | disable)
Description
On secure devices, you can switch between using secure zero-touch provisioning (SZTP) and zero-touch provisioning (ZTP).
Options
enable |
The CLI checks to see if the device is a secure device. If the device is secure, the process ends. The next time the device boots, the device uses secure ZTP as the provisioning solution. If the device is not a secure device, you will receive an error message that says the device is not secure, and the process ends. |
disable |
The CLI checks to see if the device is a secure device. If the device is secure, the next time the device boots, the device uses ZTP as the provisioning solution. If the device is not secure, the process ends. |
Required Privilege Level
maintenance
Sample Output
request system zeroize ztp-option secure-enable
user@device> request system zeroize ztp-option secure-enable
request system zeroize ztp-option secure-disable
user@device> request system zeroize ztp-option secure-disable
Release Information
Command introduced in Junos OS Evolved Release 23.2.