After an IP address is assigned to the switch, if a hostname is not already assigned, Auto Config issues a
DNS request for the corresponding hostname. This hostname is also displayed as the CLI prompt (as in
response to the hostname command).
Assignment of TFTP Server
The following information is also processed, and may be returned by a BOOTP or DHCP server:
•
Name of configuration file (bootfile or option 67) available for download from the TFTP server.
•
Identification of the TFTP server providing the bootfile. This can be obtained from any of the
following fields:
–
The hostname of the TFTP server (option 66 or sname). Either the TFTP address or name is
specified (not both) in most network configurations. If a TFTP hostname is given, a DNS server is
required to translate the name to an IP address.
–
The IP address of the TFTP server (option 150).
–
The address of the TFTP server (siaddr) to be used for Auto Config requests.
No configuration assigned by BOOTP or DHCP is saved in startup-config.
A DNS server is needed to resolve the IP address of the TFTP server only if the sname or option 66 values
are used.
Obtaining a Config File
After obtaining IP addresses for both the switch and the TFTP server, the Auto Config process attempts
to download a configuration file. When possible, a host-specific configuration file is downloaded.
Otherwise, a network configuration file is used to get the final configuration. The process is described
below.
The switch attempts to download a host-specific configuration file if a bootfile name was specified by the
DHCP or BOOTP server. The switch makes three unicast TFTP requests for the specified bootfile. If the
unicast attempts fail, or if a TFTP server address was not provided, the switch makes three broadcast
requests to any available TFTP server for the specified bootfile. A TFTP broadcast request is a simple
TFTP request with broadcast destination MAC address (ff:ff:ff:ff:ff:ff) and destination IP address
(255.255.255.255).
NOTE:
The bootfile is required to have a file type of *.cfg.
Attempts are made to download a default network configuration file with the name "fp-net.cfg" when:
•
the host-specific bootfile cannot be found.
•
a failure occurs in the host-specific configuration file download.
•
the switch was not provided a specific bootfile name by the DHCP server.
The switch unicasts or broadcasts TFTP requests for a network configuration file in the same manner as
the attempts to download a host-specific configuration file.
152
Utility