beautypg.com

H3C Technologies H3C S12500 Series Switches User Manual

Page 57

background image

43

NOTE:

Specify an IP address for the network calling processor before performing other configurations.

Configuring the TFTP server and bootfile name for the client

For the DHCP server to support client auto-configuration, you must specify the IP address or name of a
TFTP server and the bootfile name in the DHCP address pool. You do not need to perform any

configuration on the DHCP client.
The DHCP client uses these parameters to contact the TFTP server and request the configuration file used

for system initialization.

1.

When a router starts up without loading any configuration file, the system sets an active interface
(such as the interface of the default VLAN or a Layer 3 Ethernet interface) as the DHCP client to

request from the DHCP server for parameters, such as an IP address and name of a TFTP server,

and the bootfile name.

2.

After getting related parameters, the DHCP client sends a TFTP request to obtain the configuration
file from the specified TFTP server for system initialization. If the client cannot get such parameters,

it performs system initialization without loading any configuration file.

To configure the IP address and name of the TFTP server and the bootfile name in the DHCP address

pool:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter DHCP address pool

view.

dhcp server ip-pool pool-name
[ extended ]

N/A

3.

Specify the TFTP server or the

name of the TFTP server.

Specify the TFTP server:

tftp-server ip-address
ip-address

Specify the name of the TFTP

server:
tftp-server domain-name

domain-name

Use either command.
Not specified by default.

4.

Specify the bootfile name.

bootfile-name bootfile-name

Not specified by default.

Specifying a server's IP address for the DHCP client

Some DHCP clients need to obtain configuration information from a server, such as a TFTP server. You

can specify the IP address of that server in each address pool of the DHCP server. The DHCP server sends
the server's IP address to DHCP clients along with other configuration information.
To specify the IP address of a server:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter DHCP address pool

view.

dhcp server ip-pool pool-name
[ extended ]

N/A