DHCP can be used to deliver configuration files to clients that require them for startup. You can save the configuration files on the DHCP server or specify the IP address of a dedicated file server. When a configuration file exists on a dedicated file server, the DHCP server needs to specify the IP address of the file server for clients. You can also specify an IP address for the file server by configuring user-defined options for clients.
If the startup configuration file is saved on a file server, the route between the DHCP client and file server must be reachable.
Enter the system view.
system-view
Enter the global address pool view.
ip pool ip-pool-name
Specify the name of the configuration file.
bootfile bootfile
By default, the name is not configured.
Specify the name of the server that hosts the configuration file.
sname sname
By default, the name of the server is not configured.
Specify the IP address of the file server that hosts the configuration file.
next-server ip-address
By default, the file server IP address is not configured.