R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101
208
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 interfaces exist, the VLAN
interface of the default VLAN of the Ethernet interfaces 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. The configuration of these servers varies with device models and is not shown.
• Before starting the device, connect only the interface needed in automatic confi
g
uration to the network.
Work flow of automatic configuration
Figure 114 Work flow of automatic configuration
Start the device with
default configuration
The interface obtains
parameters through DHCP
Is the TFTP server address
contained in the parameters?
Yes
No
Yes
No
Unicast a TFTP request to
obtain the configuration file
Yes
Yes
Broadcast a TFTP
request to obtain
the configuration file
No
Remove the temporary
configurations and execute
the obtained configuration file
End
Is the TFTP server domain
name contained in the
parameters?
Resolve domain name of
the TFTP server
Remove the temporary
configurations and the device
starts with default configuration
Succeeds
Fails
Fails
Succeeds
No
Remove the temporary
configurations and the device
starts with default configuration