3-7
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter3 Configuring the Switch for t he First Time
Configuring DHCP-Based Autoconfiguration
If the switch cannot read the network-confg, cisconet.cfg, or the hostname file, it reads the
router-confg file. If the switch cannot read the router-confg file, it reads the ciscortr.cfg file.
Note The switch broadcasts TFTP server requests provided that one of these conditions is met: 1) the TFTP
server is not obtained from the DHCP replies; 2) all attempts to read the configuration file through
unicast transmissions fail, or 3) the TFTP server name cannot be resolved to an IP address.
Example Configuration
Figure 3-3 shows a network example for retrieving IP information using DHCP-based autoconfiguration.
Figure3-3 DHCP-Based Autoconfiguration Network Example
Table 3 -2 shows the configuration of the reserved leases on either the DHCP server or the DHCP server
feature running on your switch.
Switch 1
00e0.9f1e.2001
Cisco router
49066
Switch 2
00e0.9f1e.2002
Switch 3
00e0.9f1e.2003
DHCP server DNS server TFTP server
(maritsu)
10.0.0.1
10.0.0.10
10.0.0.2 10.0.0.3
Switch 4
00e0.9f1e.2004
Table3-2 DHCP Server Configuration
Switch 1 Switch 2 Switch 3 Switch 4
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 maritsu or 10.0.0.3 maritsu or 10.0. 0.3 maritsu or 10.0.0.3 maritsu or 10.0.0.3
Boot filename
(configuration file)
(optional)
switch1-confg switch2-confg switch3-confg switch4-confg
Host name (optional) switch1 switch2 switch3 switch4