Home > Networking Solutions > Enterprise/Data Center Networking Solutions > Enterprise SONiC Networking Solutions > Guides > Zero Touch Deployment of Open Dell Switches with SONiC > SONiC ZTP json file
The SONiC ZTP json datafile is consumed by SONiC to perform desired tasks during ZTP staging. For this setup, create the file /tftpboot/sonic/ztp/ztp_data_with_firmware.json.
ZTP staging involves the following tasks:
{
"ztp":{
"firmware": {
"install": {
"url": "http://192.168.240.101/tftpboot/sonic/firmware/Enterprise_SONiC_OS_4.0.0_Enterprise_Premium.bin",
"set-default": true
},
"reboot-on-success": true,
},
"configdb-json": {
"url": {
"source": "http://192.168.240.101/tftpboot/sonic/config/first_boot_config.json",
"destination": "/etc/sonic/config_db.json",
"secure": false
},
"clear-config" : false
},
"provisioning-script": {
"plugin": {
"url":"http://192.168.240.101/tftpboot/sonic/postscript/postscript_simple.sh"
},
"reboot-on-success": false
}
}
}
Note: The firmware stanza should be used when you have SONiC already in production and you would like to upgrade your fleet of switches to another SONiC version. You activate the ZTP process with the sudo ztp enable && sudo ztp run -y command line. If the requested version equals the running version, it will only download the image and silently discard the firmware.