beautypg.com

Specifying a server for dhcp clients – H3C Technologies H3C S5560 Series Switches User Manual

Page 55

background image

40

Follow these guidelines to specify the parameters on the DHCP server for configuration file acquisition:

If the configuration file is on a TFTP server, specify the IP address or name of the TFTP server, and
the configuration file name.

If the configuration file is on an HTTP server, specify the configuration file URL.

The DHCP client uses the obtained parameters to contact the TFTP server or the HTTP server to get the
configuration file.
To specify the configuration file name in a 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 N/A

3.

Specify the IP address or the

name of a TFTP server.

Specify the IP address of the TFTP

server:

tftp-server ip-address ip-address

Specify the name of the TFTP server:

tftp-server domain-name

domain-name

Use at least one of the
commands
By default, no TFTP server is
specified.

4.

Specify the configuration file

name.

bootfile-name bootfile-name

By default, no configuration
file name is specified.

To specify the configuration file URL in a 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 N/A

3.

Specify the URL of the

configuration file.

bootfile-name url

By default, no configuration
file URL is specified.

Specifying a server for DHCP clients

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. 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 N/A

3.

Specify the IP address of a
server.

next-server ip-address

By default, no server is specified.

This manual is related to the following products: