4-13
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 4 Performing Switch Setup Configuration
How to Perform Switch Setup Configuration
Configuring DHCP Auto-Image Update (Configuration File and Image)
This task describes DHCP autoconfiguration to configure TFTP and DHCP settings on a new switch to
download a new image and a new configuration file.
Before You Begin
You must create a text file (for example, autoinstall_dhcp) that will be uploaded to the switch. In the text
file, put the name of the image that you want to download. This image must be a tar and not a bin file.
Step 7 exit Returns to global configuration mode.
Step 8 tftp-server flash:filename.text Specifies the configuration file on the TFTP server.
Step 9 interface interface-id Specifies the address of the client that will receive the configuration
file.
Step 10 no switchport Puts the interface into Layer 3 mode.
Step 11 ip address address mask Specifies the IP address and mask for the interface.
Step 12 end Returns to privileged EXEC mode.
Step 13 copy running-config startup-config (Optional) Saves your entries in the configuration file.
Command Purpose
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 ip dhcp pool name Creates a name for the DHCP server address pool and enters DHCP pool
configuration mode.
Step 3 bootfile filename Specifies the name of the file that is used as a boot imag e.
Step 4 network network-number mask
prefix-length
Specifies the subnet network number and mask of the DHCP address
pool.
Note The prefix length specifies the number of bits that comprise the
address prefix. The prefix is an alternative way of specifying the
network mask of the client. The prefix length must be preceded
by a forward slash (/).
Step 5 default-router address Specifies the IP address of the default router for a DHCP client.
Step 6 option 150 address Specifies the IP address of the TFTP server.
Step 7 option 125 hex Specifies the path to the text file that describes the path to the image file.
Step 8 copy tftp flash filename.txt Uploads the text file to the switch.
Step 9 copy tftp flash imagename.tar Uploads the tar file for the new image to the switch.
Step 10 exit Returns to global configuration mode.
Step 11 tftp-server flash:config.text Specifies the Cisco IOS configuration file on the TFTP server.
Step 12 tftp-server flash:imagename.tar Specifies the image name on the TFTP server.
Step 13 tftp-server flash:filename.txt Specifies the text file that contains the name of the image file to
download.
Step 14 interface interface-id Specifies the address of the client that will receive the configuration file.
Step 15 no switchport Puts the interface into Layer 3 mode.