Overview
When the device starts up without a configuration file, it searches the root directory of its local storage medium for the autocfg.py, autocfg.tcl, or autocfg.cfg file.
If one of the files exists, the device loads the file to complete automatic configuration.
For the device to use a local file for automatic configuration, save only one of the previously mentioned files in the root directory of the device's storage medium. For more information about preparing one of the files, see "Preparing the files for automatic configuration."
If none of the files exists, the device automatically obtains a set of configuration settings from a file server.
Automatic configuration applies to scenarios that have the following characteristics:
A number of devices need to be configured.
The devices to be configured are widely distributed.
The configuration workload on individual devices is heavy.
As shown in Figure 6, server-based automatic configuration requires the following servers:
DHCP server.
File server (TFTP or HTTP server).
(Optional.) DNS server.
Figure 40: Network diagram