49
• 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. Create a DHCP address pool
and enter its view.
dhcp server ip-pool
pool-name
By default, no DHCP
address pool exists.
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
You can specify both the IP
address and name of the
TFTP server.
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. Create a DHCP address pool
and enter its view.
dhcp server ip-pool
pool-name
By default, no DHCP
address pool exists.
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. Create a DHCP address pool
and enter its view.
dhcp server ip-pool
pool-name
By default, no DHCP address
pool exists.
3. Specify the IP address of a
server.
next-server
ip-address By default, no server is specified.