beautypg.com

File types – H3C Technologies H3C SecPath F1000-E User Manual

Page 230

background image

219

If devices use different configuration files, you need to configure static address pools to ensure that

each device can get a fixed IP address and a specific configuration file. With this method, the
administrator does not need to perform any other configuration for the devices.

NOTE:

To configure static address pools, you must obtain corresponding client IDs. To obtain a device’s client ID,
use the display dhcp server ip-in-use command to display address binding information on the DHCP
server after the device obtains its IP address through DHCP.

Obtaining the configuration file from the TFTP server

File types

A device can obtain the following files from the TFTP server during automatic configuration:

The configuration file specified by the Option 67 or file field in the DHCP response

The host name file, which is named network.cfg. The host name file stores mappings between IP
addresses and host names.
For example, the host name 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

CAUTION:

There must be a space before the keyword ip host.

The host name of a device saved in the host name file must be the same as the configuration file name
of the device, and can be identical with or different from that saved in the DNS server.

The configuration file of a device is named hostname.cfg, where hostname is the host name of the
device. For example, if the host name of a device is aaa, the configuration file of the device is

named aaa.cfg.

The default configuration file is named device.cfg.