163
How automatic configuration works
Automatic configuration works in the following manner:
1.
During startup, the device sets the first up interface (if up Layer 2 Ethernet ports exist, the VLAN
interface of the default VLAN of the Ethernet ports is selected as the first up interface. Otherwise,
the up Layer 3 Ethernet interface with the smallest interface number is selected as the first up
interface) as the DHCP client to request parameters from the DHCP server, such as an IP address
and name of a TFTP server, IP address of a DNS server, and the configuration file name.
2.
After getting related parameters, the device sends a TFTP request to obtain the configuration file
from the specified TFTP server and executes the configuration file. If the client cannot get such
parameters, it uses factory default configuration.
NOTE:
•
To implement automatic configuration, you need to configure the DHCP server, DNS server and TFTP
server, but you do not need to perform any configuration on the device that performs automatic
configuration.
•
Before starting the device, connect only the interface needed in automatic configuration to the network.
Automatic configuration work flow
shows the work flow of automatic configuration.
Figure 53
Automatic configuration work flow