Obtaining the configuration file, Tftp request sending mode – H3C Technologies H3C S12500 Series Switches User Manual

Page 200

Advertising
background image

188

Obtaining the configuration file

Figure 62 Obtaining the configuration file

A device obtains its configuration file by using the following workflow:

If the DHCP response contains the configuration file name, the device requests the specified
configuration file from the TFTP server.

If not, the device tries to get its host name from the host name file obtained from the TFTP server. If
it fails, the device resolves its IP address to the host name through DNS server. Once the device gets

its host name, it requests the configuration file with the same name from the TFTP server.

If all the above operations fail, the device requests the default configuration file from the TFTP server.

TFTP request sending mode

The device determines whether to unicast or broadcast a TFTP request by using the following work flow:

If a legitimate TFTP server IP address is contained in the DHCP response, the device unicasts a TFTP
request to the TFTP server.

If not, the device resolves the TFTP server domain name contained in the DHCP response to the

corresponding IP address through the DNS server. If successful, the device unicasts a TFTP request
to the TFTP server; if not, the device broadcasts a TFTP request.

Advertising