4-19
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 4 Performing Switch Setup Configuration
Configuration Examples for Performing Switch Setup Configuration
Switches B through D retrieve their configuration files and IP addresses in the same way.
Figure 4-3 shows a sample network for retrieving IP information by using DHCP-based autoconfiguration.
Figure 4-3 DHCP-Based Autoconfiguration Network Example
Table 4-3 shows the configuration of the reserved leases on the DHCP server.
DNS Server Configuration
The DNS server maps the TFTP server name tftpserver to IP address 10.0.0.3.
TFTP Server Configuration (on UNIX)
The TFTP server base directory is set to /tftpserver/work/. This directory contains the network-c onfg file
used in the two-file read method. This file contains the hostname to be a ssigned to the switch based on
its IP address. The base directory also contains a configuration file for each switch (switcha-confg,
switchb-confg, and so forth) as shown in this display:
prompt> cd /tftpserver/work/
prompt> ls
network-confg
switcha-confg
switchb-confg
switchc-confg
Switch 1
00e0.9f1e.2001
Cisco router
111394
Switch 2
00e0.9f1e.2002
Switch 3
00e0.9f1e.2003
DHCP server DNS server TFTP server
(tftpserver)
10.0.0.1
10.0.0.10
10.0.0.2 10.0.0.3
Switch 4
00e0.9f1e.2004
Tab l e 4-3 DHCP Server Configuration
Switch A Switch B Switch C Switch D
Binding key (hardware address) 00e0.9f1e.2001 00e0.9f1e.2002 00e0.9f1e.2003 00e0.9f1e.2004
IP address 10.0.0.21 10.0.0.22 10.0.0.23 10.0.0.24
Subnet mask 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0
Router address 10.0.0.10 10.0.0.10 10.0.0.10 10.0.0.10
DNS server address 10.0.0.2 10.0.0.2 10.0.0.2 10.0.0.2
TFTP server name tftpserver or
10.0.0.3
tftpserver or
10.0.0.3
tftpserver or
10.0.0.3
tftpserver or
10.0.0.3
Boot filename (configuration file)
(optional)
switcha-confg switchb-confg switchc-confg switchd-confg
Hostname (optional) switcha switchb switchc switchd