Manual ZTP Invocation
Manual Zero Touch Provisioning (ZTP) can be invoked manually via CLI commands. This manual way helps you to provision the router in stages. Ideal for testing out ZTP configuration without a reboot. If you would like to invoke a ZTP on an interfaces(data ports or management port), you don't have to bring up and configure the interface first. You can execute the ztp initiate command, even if the interface is down, ZTP script will bring it up and invoke dhclient. So ZTP could run over all interfaces no matter it is up or down.
Use the ztp initiate , ztp breakout , ztp terminate , and ztp clean commands to force ZTP to run over more interfaces.
ztp initiate — Invokes a new ZTP DHCP session. Logs will go to the console and /disk0:/ztp/ztp.log.
ztp terminate —Terminates any ZTP session in progress.
ztp breakout —Will peform 4x10 breakout detection.
ztp clean —Remove all ZTP files saved on disk
For more information of the commands, see the ZTP command chapter in the System Management Command Reference for Cisco NCS 5500 Series Routers.
This task shows the most common use case of manual ZTP invocation: invoke 4x10 breakout discovery and ZTP.
- ztp breakout
- ztp initiate dataport
|Command or Action||Purpose|
Will try 4x10 breakout on 100 GE interfaces that supports breakout and are operationally down after no-shut. If the 10x10 breakout configure brings any 10GE interface operationally up, the breakout configuration will stay, otherwise it will be reverted.
ztp initiate dataport
Invoke DHCP sessions on all data ports which are up or could be brought up. ZTP runs in the background. Please use show logging or look at /disk0:/ztp/ztp.log to check progress.