Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[Sky Enterprise] ZTP with SRX3xx Shows "Configuration Failed" state



Article ID: KB36210 KB Last Updated: 23 Sep 2020Version: 2.0

A device is added in Sky Enterprise and is using the Zero Touch Provisioning (ZTP) template skyent-us-basic-srx+new_dhcp.xml. However, the ZTP state for the device shows as "Configuration Failed."

This article gives the probable cause for the failure and the solution to resolve the problem.



A device is added in Sky Enterprise, and is using the ZTP template but the ZTP state for the device shows as "Configuration Failed."

The SRX3xx device is running Junos OS release 15.1X49-D170.



When ZTP state shows "Configuration Failed," this usually means that there has been a commit failure, because Junos OS sees a conflict or an incompatibility issue with some configuration that the ZTP template is pushing. In this case, it was determined that there is incompatibility with using the command dhcp on Junos OS release 15.1X49-D170.

This is the portion of the configuration that ZTP was pushing down:

unit 0 {
    family inet {
        ## Warning: Incompatible with the dhcp-local-server configured under 'system services dhcp-local-server group
        ## Warning: Incompatible with 'system autoinstallation'



To resolve this problem, simply change the ZTP template to use dhcp-client, instead of dhcp. Alternatively, you can use the ZTP template ​skyent-us-basic-srx.xml. You can use this ZTP template for all SRX devices that use the Junos OS release 15.1X49 code. If the devices are running Junos OS release 18.4 or later, use ​skyent-us-basic-srx+new_dhcp.xml instead.


Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search