Application Notes How to Configure Auto-install on Managed Switches
Application Notes Ta b l e of C o n t e n t s Contents ........................................................................................................................................2 Concepts ......................................................................................................................................3 Components ..................................................................................................................................3 Configuration Steps ..........
Application Notes Concepts Auto Install is a software feature that provides for the configuration of a switch automatically when the device is initialized and no configuration file is found on the switch. The downloaded configuration file is not distributed across a stack. When an administrator saves configuration, the config file is distributed across a stack. The Auto Install process requires DHCP to be enabled by default in order for it to be completed.
Application Notes Handling Conflicting TFTP Server Configurations The TFTP server IP address can be deduced from the multiple sources. It is selected from one of the following fields, listed from the highest priority to the lowest: • The sname field of a DHCP or BOOTP reply. • The TFTP server name (option 66) of a DHCP reply. • The TFTP server address (option 150) field of a DHCP reply. • The siaddr field of a DHCP or BOOTP reply.The TFTP server IP address can be deduced from the multiple sources.
Application Notes Order Sought File Name Description Final File Sought 1 .cfg Host-specific config file, ending in a *.cfg file Yes extension 2 fp-net.cfg Default network config file No 3 .cfg Host-specific config file, associated with host name Yes 4 host.cfg Default config file Yes The following table displays the determining factors for issuing unicast TFTP requests.
Application Notes Restarting the Auto Install Process The Auto Install process is automatically started on a subsequent reboot if the configuration file is not found on the switch. This can occur if configuration has not ever been saved on the switch, or if the administrator has issued a command to erase the configuration file. During a particular session, the Auto Install process can be restarted if the administrator has previously stopped the Auto Install process, and then chooses to restart it.
Application Notes DHCP Server Configuration The following information is configured on the DHCP or BOOTP server: • The IP address (yiaddr) and subnet mask (option1) • The name of the configuration file (bootfile or option 67) • The IP address of the TFTP server (option 150) TFTP Server Configuration The configuration file is on the TFTP server (for example, switch.cfg). CLI: Switch Configuration 1. Have the configuration file saved after download from the TFTP server.
Application Notes 2. Select Start in the AutoInstall Mode field. 3. Select Enable in the AutoSave Mode field. 4. Click Apply. Conclusion Automatic configuration with DHCP and BootP Auto Install eases large deployments with scalable configuration file management capability, IP address and host name mapping, and provides individual configuration files to multiple switches as soon as they are initialized on the network.