3-7
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter3 Assigning the Switch IP Address and Default Gateway Assigning Switch Information
Note If the switch is acting as the relay device, configure the interface as a routed po rt. F or mor e informa tion,
see the “Routed Ports” section on page 9-4 and the “Configuring Layer 3 Interfaces” section on
page 9-20.
Figure3-2 Relay Device Used in Autoconfiguration
Obtaining Configuration Files
Depending on the availability of the IP address and the configuration filename in the DHCP reserved
lease, the switch obtains its configuration information in these ways:
The IP address and the configuration filename is reserved fo r th e s witc h an d pr ovided in the DHCP
reply (one-file read method).
The switch receives its IP address, subnet mask, TFTP server address, an d the configur ation
filename from the DHCP server. The switch sends a unicast message to the TFTP server to retrieve
the named configuration file from the base directory of the server and upon rec eipt, it completes its
boot-up process.
The IP address and the configuration filename is reserved for the switch, but the TFTP server
address is not provided in the DHCP reply (one-file read method).
The switch receives its IP address, subnet mask, and the configuration filename from the DHCP
server. The switch sends a broadcast message to a TFTP server to retrieve the named configuration
file from the base directory of the server, and upon receipt, it completes it s boo t-up pr ocess.
Only the IP address is reserved for the switch and provided in the DHCP reply. The configuration
filename is not provided (two-file read method).
The switch receives its IP address, subnet mask, and the TFTP server address from the DHCP server.
The switch sends a unicast message to the TFTP server to retrieve the network-confg or cisconet.cfg
default configuration file. (If the network-confg file cannot be read, the switch reads the cisconet.cfg
file.)
The default configuration file contains the hostnames-to-IP-address mapping for the switch. The
switch fills its host table with the information in the file and obtains its hostname. If the hostname
is not found in the file, the switch uses the hostname in the DHCP re ply. If the hostname i s not
specified in the DHCP reply, the switch uses the default Switch as its hostname.
Switch
(DHCP client) Cisco router
(Relay)
49068
DHCP server TFTP server DNS server
20.0.0.2 20.0.0.3
20.0.0.1
10.0.0.2
10.0.0.1
20.0.0.4