Cisco Systems SG200 Life Jacket User Manual


 
Administration
File Management
Cisco Small Business SG200 Series 8-port Smart Switch 65
3
NOTE The switch requires the boot file name to have a .cfg extension.
Default Network Configuration File
If Default Network Configuration Mode is enabled, the switch downloads the
configuration file <hostname>.cfg when any one of the following conditions
occurs:
A host specific configuration file is not specified or configured.
A host specific configuration file does not exist on the TFTP server.
A failure occurs during the download.
NOTE The startup configuration file cannot be present on the switch. If the startup
configuration file is present on the switch, this process is not initiated.
To resolve the hostname in the configuration file, the switch first downloads
fp-net.cfg from the TFTP server. The fp-net.cfg file is referred as the default
network configuration file and contains one or more IP-address-to-host-name
mappings. The switch determines the hostname from the mappings with its IP
address. If there is no mapping, the switch uses reverse DNS lookup to discover
the hostname.
The following is a sample fp-net.cfg file.
config
...
ip host switch_to_setup 192.168.1.10
ip host another_switch 192.168.1.11
... <other hostname definitions>
exit
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 switch+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.