Obtaining the configuration file
Figure 46 Obtaining the configuration file
A device obtains its configuration file by using the following work flow:
•
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 previous operations fail, the device requests the default configuration file from the TFTP
•
server.
TFTP request sending mode
The device selects to unicast or broadcast a TFTP request using the following 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.
141