After an unconfigured device is powered on, it may enter the SZTP process and then use DHCP for automatic deployment.
Figure 1 shows the typical networking for automatic device deployment through DHCP.
In the typical SZTP networking, the key roles and their functions are described as follows:
DHCP relay agent: relays DHCP packets between a device running SZTP and a DHCP server. A DHCP relay agent is used when the device and the DHCP server are located on different subnets.
Bootstrap server: is a RESTCONF server deployed with ietf-sztp-bootstrap-server@2019-04-30.yang. The bootstrap server can establish a secure TLS connection with a device and send redirect information or onboarding information to the device.
Version file server: is used to store version files (such as the system software package, configuration files, and patch files) required for a device. The version file server and the bootstrap server can be deployed on the same HTTPS-enabled server.