Before powering on a device that needs to be deployed automatically through SZTP, you need to deploy a DHCPv4 server. This is required to ensure that the unconfigured device functioning as a DHCP client can properly obtain information, such as the allocated IP address, gateway address, and server address.
Table 1 describes the DHCP options used by a DHCP server.
If the device to be configured and the DHCPv4 server reside on different subnets, you need to configure a DHCP relay agent to forward DHCP packets.
Option ID |
Mandatory or Not |
Function |
---|---|---|
Option 1 |
Mandatory |
Specifies the subnet mask of an IP address. |
Option 3 |
Mandatory |
Specifies the egress gateway of the DHCP client. |
Option 143 |
Mandatory |
Specifies the list of bootstrap server addresses. |
The following procedure uses a router as the DHCPv4 server or relay agent. If another type of device is used, see the documentation of the corresponding product.