bootfile-name
Use bootfile-name to specify a configuration file name or URL.
Use undo bootfile-name to remove the configuration file name or URL.
Syntax
bootfile-name { bootfile-name | url }
undo bootfile-name
Default
No configuration file name or URL is specified.
Views
DHCP address pool view
Predefined user roles
network-admin
Parameters
bootfile-name: Specifies the configuration file name, a case-sensitive string of 1 to 63 characters.
url: Specifies the configuration file URL in the format of http://. It is a case-sensitive string of 1 to 63 characters.
Usage guidelines
If you use the bootfile-name command multiple times, the most recent configuration takes effect.
If the configuration file is on a TFTP server, specify the configuration file name, and the IP address or name of the TFTP server.
If the configuration file is on an HTTP server, specify the configuration file URL.
Examples
# Specify the boot file name boot.cfg in DHCP address pool 0.
<Sysname> system-view [Sysname] dhcp server ip-pool 0 [Sysname-dhcp-pool-0] bootfile-name boot.cfg
# Specify the URL http://10.1.1.1/boot.cfg for the remote boot file in DHCP address pool 0.
<Sysname> system-view [Sysname] dhcp server ip-pool 0 [Sysname-dhcp-pool-0] bootfile-name http://10.1.1.1/boot.cfg
Related commands
display dhcp server pool
next-server
tftp-server domain-name
tftp-server ip-address