Users Guide

546 DHCP and USB Auto-Configuration
If the *.setup file configuration line contains an IP address but no
configuration or image file names, the management IP address will be
assigned, and then the feature will search the USB device for files with the
.text and .stk extensions, which indicates that all switches will be using the
same configuration file and/or image on the USB device. This method allows
different IP addresses to be assigned, but the same configuration file or image
is downloaded to multiple switches. Alternatively, the line may contain a
specific configuration or image file name, or both.
After the current switch has been configured and/or upgraded and the
completion message is displayed on the switch, the current line in the *.setup
text file will be marked as used. This allows using the *.setup file for
additional switches without manually changing the file. The USB device can
then be removed and inserted into the next switch to begin the process again.
Also, the switch MAC address of a switch that has been automatically
configured is added to the beginning of the line (if no MAC address was
specified in the file) for lines using the IP address lookup method so that the
MAC and IP address combinations are recorded within the *.setup file for
future use bindings.
At the start of the next USB auto download, if all lines in the *.setup file are
marked as already “in-use” or “invalid,” and there is no MAC address match
for a switch, the process will halt, and a message similar to the following is
displayed on the console:
<###> APR 22 08:32:43 Error: Auto Configuration has terminated
due to there being no more lines available for use within the
USB file “XXXXX.setup”.
Configuration File
The *.text configuration file identified in the *.setup file contains the
running-config to be loaded on to the switch. The configuration file may be
specified on a line in the .setup file to assign specific configuration to specific
switches, or, if it is desired to assign a single configuration to all switches, the
configuration file need not be specified in the .setup file as long as it is
present on the USB device. The configuration file specified in the *.setup file
should exist on the USB device. It must have a .text file name extension. No
other file name extension is allowed. For information about the format and
contents of the *.text file, see Editing and Downloading Configuration Files.