Specifying the configuration file for DHCP client automatic configuration
About configuration file for DHCP client automatic configuration
Automatic configuration enables a device to automatically obtain a set of configuration settings at startup. The server-based automatic configuration requires the cooperation of the DHCP server and file server (TFTP or HTTP server). The device uses the obtained parameters to contact the file server to get the configuration file. For more information about automatic configuration, see Fundamentals Configuration Guide.
Specifying the configuration file on a TFTP file server
Enter system view.
system-view
Enter DHCP address pool view.
dhcp server ip-pool pool-name
By default, no DHCP address pool exists.
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
By default, no TFTP server IP address is specified.
Specify the name of the TFTP server.
tftp-server domain-name domain-name
By default, no TFTP server name is specified.
Specify the configuration file name.
bootfile-name bootfile-name
By default, no configuration file name is specified.
Specifying the URL of the configuration file on an HTTP file server
Enter system view.
system-view
Enter DHCP address pool view.
dhcp server ip-pool pool-name
Specify the URL of the configuration file.
bootfile-name url
By default, no configuration file URL is specified.