Administration
File Management
Cisco Small Business SG200 Series 8-port Smart Switches Administration Guide
61
4
When a hostname has been determined, the switch issues a TFTP request for a file
named "
<hostname>
.cfg", where
<hostname>
is the first eight characters of the
switch hostname.
The switch uses the IP address to do a DNS reverse name lookup. For example, if
the switch IP address is 192.168.1.10, the hostname becomes
switch_t.cfg
(the
first eight characters in the example above).
The default switch name is derived as
last 6 digits of hex address
. The
mapping file should have the hostnames such as
ip host switchD99FA5
192.168.1.10
. Then, the hostname learned for the <hostname.cfg> is
switchD9.cfg
for the switch having the IP address
192.168.1.10
.
If the switch is unable to map its IP address to a hostname, Auto Configuration
sends TFTP requests for the default configuration file
host.cfg
.
When the switch gets the default configuration file, the configuration is validated
for errors. If the validation is successful, then the switch copies the configuration to
the Startup Configuration file type and reboots. In this case, the default
configuration file name is not stored in the non-volatile memory.
NOTE
If the switch is unable to get the valid configuration file, then the process described
above is repeated every 20 minutes until the switch gets a valid configuration file.
The administrator can create a Startup Configuration file by manually saving the
Running Configuration. The administrator can also disable Auto Configuration if
desired.
The following table summarizes the configuration files that can be downloaded,
and the order in which they are sought.
Order
Sought
File Name
Description
Final File
Sought
1
<bootfile>.cfg
Host-specific configuration file,
ending in a *.cfg file extension
1
Yes
2
fp-net.cfg
Default network configuration file
No
3
<hostname>.cfg
Host-specific configuration file,
associated with hostname
Yes
4
host.cfg
Default configuration file
Yes
1.
This file name might be learned through DHCP or manually configured, as described in
Alternate TFTP Server and File Name
.