Configuring Dhcp-Based Autoconfiguration - Cisco Catalyst 3550 series Software Configuration Manual

Multilayer switch
Hide thumbs Also See for Catalyst 3550 series:
Table of Contents

Advertisement

Chapter 4
Assigning the Switch IP Address and Default Gateway

Configuring DHCP-Based Autoconfiguration

These sections describe how to configure DHCP-based autoconfiguration.
If your DHCP server is a Cisco device, or if you are configuring the switch as a DHCP server, refer to
the "IP Addressing and Services" section in the Cisco IOS IP and IP Routing Configuration Guide for
Cisco IOS Release 12.1 for additional information about configuring DHCP.
Configuring the DHCP Server
The switch can act as both the DHCP client and the DHCP server. By default, the Cisco IOS DHCP
server and relay agent features are enabled on your switch.
You should configure the DHCP server, or the DHCP server feature running on your switch, with
reserved leases that 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:
If you want the switch to receive the configuration file from a TFTP server, you must configure the
DHCP server with these lease options:
Depending on the settings of the DHCP server or the DHCP server feature running on your switch, the
switch can receive IP address information, the configuration file, or both.
If you do not configure the DHCP server or the DHCP server feature running on your switch with the
lease options described earlier, it replies to client requests with only those parameters that are
configured. If the IP address and subnet mask are not in the reply, the switch is not configured. If the
router IP address or TFTP server name are not found, the switch might send broadcast, instead of unicast,
TFTP requests. Unavailability of other lease options does not affect autoconfiguration.
The DHCP server or the DHCP server feature running on your switch 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 relay. For more information, see the
78-11194-09
Configuring the DHCP Server, page 4-5
Configuring the TFTP Server, page 4-6
Configuring the DNS, page 4-6
Configuring the Relay Device, page 4-6
Obtaining Configuration Files, page 4-7
Example Configuration, page 4-8
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 the switch) (required)
TFTP server name (required)
Boot filename (the name of the configuration file that the client needs) (recommended)
Host name (optional)
"Configuring the Relay Device" section on page
Catalyst 3550 Multilayer Switch Software Configuration Guide
Assigning Switch Information
4-6.
4-5

Advertisement

Table of Contents
loading

Table of Contents