R21xx-HP FlexFabric 11900 Fundamentals Configuration Guide

167
Deploying and configuring servers for automatic
configuration
To implement automatic configuration, you do not need to perform any configuration on the device.
However, you must deploy DHCP, TFTP, and DNS servers and configure the servers to cooperate with the
device as follows:
DHCP server—Assigns the device a set of parameters for automatic configuration, which might
include a temporary IP address, a configuration file name, a host name, a TFTP server domain
name, a TFTP server IP address, and a DNS server IP address. For more information about the
DHCP server, see Layer 3—IP Services Configuration Guide.
TFTP server—Stores files needed for device automatic configuration, including the configuration
files and host name files. For more information about the TFTP server, see "Configuring TFTP."
DNS s
erver—Resolves the device's temporary IP address to its host name so the device can request
a configuration file named in the format host name.cfg from the TFTP server. The DNS server might
also need to resolve the TFTP server domain name to the TFTP server IP address. For more
information about the DNS server, see Layer 3—IP Services Configuration Guide.
If the DHCP server, the TFTP server, the DNS server, and the device are not in the same network segment,
configure the DHCP relay agent on the gateway, and configure routing protocols to make sure the servers
have routes to the device and vice versa.
DHCP server configuration guidelines
DHCP server configuration requirements vary depending on whether the devices use the same
configuration file:
If all devices that need to be automatically configured share the same configuration file, configure
the dynamic address allocation mechanism on the DHCP server. To allow these devices to have
some different configurations, you can put the configurations that the devices share to the
configuration file and provide a way for device administrators to change the configurations after
the devices start up. For example, you can configure a configuration file that enables the Telnet
service and creates a local user so administrators can Telnet to their devices to perform specific
configurations after their devices start up.
If different devices need different configurations, configure the static address and parameter
allocation mechanism on the DHCP server so the server assigns pre-configured IP addresses and
parameters to the devices. With this method, you can configure all configuration items required for
each device on the DHCP server.
Before you configure a static binding for a device, you must obtain the client ID of the device. To
do so, ask the device administrator to turn on the device and, after the device starts up, execute the
display dhcp server ip-in-use command on the DHCP server to view the client ID of the device.
After you complete the static binding configuration, ask the device administrator to turn off the
device and then turn on it again so the device gets the IP address and configuration parameters
you configured for it.
TFTP server configuration guidelines
You must configure the configuration files and host name files required for device automatic configuration
on the TFTP server, including the default configuration file named device.cfg.