4-8
Cisco IE 3000 Switch Software Configuration Guide
OL-13018-03
Chapter 4 Assigning the Switch IP Address and Default Gateway
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
Figure 4-2
, configure the router interfaces as follows:
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
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 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.
S
witch
(DHCP client)
Ci
s
co router
(Rel
a
y)
49068
DHCP
s
erver
TFTP
s
erver
DN
S
s
erver
20.0.0.2
20.0.0.
3
20.0.0.1
10.0.0.2
10.0.0.1
20.0.0.4
Содержание IE 3000
Страница 36: ...xxxiv Cisco IE 3000 Switch Software Configuration Guide OL 13018 03 Preface ...
Страница 784: ...39 20 Cisco IE 3000 Switch Software Configuration Guide OL 13018 03 Chapter 39 Troubleshooting Troubleshooting Tables ...
Страница 874: ...Index IN 42 Cisco IE 3000 Switch Software Configuration Guide OL 13018 03 ...