Configuring The Relay Device; Obtaining Configuration Files - Cisco IE 3000 Software Configuration Manual

Table of Contents

Advertisement

Assigning Switch Information

Configuring the Relay Device

You must configure a relay device, also referred to as a relay agent, when a switch sends broadcast
packets that require a response from a host on a different LAN. Examples of broadcast packets that the
switch might send are DHCP, DNS, and in some cases, TFTP packets. You must configure this relay
device to forward received broadcast packets on an interface to the destination host.
If the relay device is a Cisco router, enable IP routing (ip routing global configuration command), and
configure helper addresses by using the ip helper-address interface configuration command.
For example, in
On interface 10.0.0.2:
router(config-if)# ip helper-address 20.0.0.2
router(config-if)# ip helper-address 20.0.0.3
router(config-if)# ip helper-address 20.0.0.4
On interface 20.0.0.1
router(config-if)# ip helper-address 10.0.0.1
Figure 4-2
DHCP server

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:
Cisco IE 3000 Switch Software Configuration Guide
4-8
Figure
4-2, configure the router interfaces as follows:
Relay Device Used in Autoconfiguration
Switch
(DHCP client)
10.0.0.2
10.0.0.1
20.0.0.2
20.0.0.3
TFTP server
The IP address and the configuration filename is reserved for the switch and provided in the DHCP
reply (one-file read method).
The switch receives its IP address, subnet mask, TFTP server address, and the configuration
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 receipt, 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 its boot-up process.
Chapter 4
Cisco router
(Relay)
20.0.0.1
20.0.0.4
DNS server
Assigning the Switch IP Address and Default Gateway
OL-13018-01

Advertisement

Table of Contents
loading

Table of Contents