4-5
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter4 Assigning the Switch IP Address and Default Gateway Assigning Switch Information
Configuring the DHCP Server
You should configure the DHCP server w ith r eser ve d lea s es th at are bound to each switch by the switch
hardware address.
If you want the switch to receive IP address information, you must configure the DHCP server with these
lease options:
IP address of the client (required)
Subnet mask of the client (required)
DNS server IP address (optional)
Router IP address (default gateway address to be used by th e switc h) (req ui red)
If you want the switch to receive the configuration f ile f ro m a TFT P se rv er, you mus t co nf igure the
DHCP server with these lease options:
TFTP server name (required)
Boot filename (the name of the configuration file that the client needs) (recommended)
Host name (optional)
Depending on the settings of the DHCP server, the switch can receive IP address information, the
configuration file, or both.
If you do not configure the DHCP server with the lease options described earlier, it replies to client
requests with only those parameters that are configured. If the IP address an d subn et mask are not in the
reply, the switch is not configured. If the router IP address o r TFTP serv er name are not foun d, the swi tch
might send broadcast, instead of unicast, TFTP requests. Unavailability of other lease options does not
affect autoconfiguration.
The DHCP server can be on the same LAN or on a different LAN than the switch. If the DHCP server
is running on a different LAN, you should configure a DHCP re lay. For more informa ti on, se e the
“Configuring the Relay Device” section on page 4-6.
Configuring the TFTP Server
Based on the DHCP server configuration, the switch attempts to download one or more configuration
files from the TFTP server. If you configured the DHCP server to respond to the switch with all the
options required for IP connectivity to the TFTP server, and if you configured the DHCP server with a
TFTP server name, address, and configuration filename, the switch attempts to download the specified
configuration file from the specified TFTP server.
If you did not specify the configuration filename, the TFTP ser ver, or if the configuration file could not
be downloaded, the switch attempts to download a configuration file by u si ng v ario us com bina tio ns of
filenames and TFTP server addresses. The files include the specified configuration filename (if any) and
these files: network-config, cisconet.cfg, hostname.config, or hostname.cfg, where hostname is the
switch’s current hostname. The TFTP server addresses us ed i nc lud e th e spe cif ie d TFT P se rv er a ddr ess
(if any) and the broadcast address (255.255.255.255).