1-5 
 
You need to configure a client ID (when a device works as the DHCP client, it uses the client ID as its ID) 
of the static binding when you configure manual address allocation. Therefore, you need to obtain the 
client ID in this way: start the device that performs automatic configuration, enable the interface that 
performs automatic configuration to obtain its IP address through DHCP, after the IP address is 
successfully obtained, use the display dhcp server ip-in-use command to display address binding 
information on the DHCP server, thus to obtain the client ID of the device. 
 
Obtaining the Configuration File from the TFTP Server 
Configuration file type 
The device can obtain the following types of configuration file from the TFTP server with the automatic 
configuration function enabled: 
z  The configuration file specified by the Option 67 or file field in the DHCP response 
z  The intermediate file, with the file name as network.cfg, used to save the mapping between the IP 
address and the host name. The mapping is defined in the following format: 
 ip host hostname ip-address 
For example, the intermediate file can include the following: 
 ip host host1 101.101.101.101 
 ip host host2 101.101.101.102 
 ip host client1 101.101.101.103 
 ip host client2 101.101.101.104 
 
 
z  There must be a space before the keyword ip host. 
z  The host name saved in the intermediate file must be the same with the configuration file name of 
the host. This host name is not the one saved in the DNS server, and their names can be the same 
or different. 
 
z  The configuration file corresponding with the host name of the device, with its file name as 
hostname.cfg. For example, if the host name of the device is aaa, then the configuration file name 
is aaa.cfg. 
z  Default configuration file, with the name as device.cfg.