Configuring The Dhcp Server; Configuring The Dhcp Relay Agent; Specifying The Packet Forwarding Address; Table - Cisco Catalyst 2360 Software Configuration Manual

Ios 12.2(53)ey
Hide thumbs Also See for Catalyst 2360:
Table of Contents

Advertisement

Chapter 14
Configuring DHCP Features

Table 14-1

Feature
Checking the relay agent information
DHCP relay agent forwarding policy
1. The switch responds to DHCP requests only if it is configured as a DHCP server.
2. The switch relays DHCP packets only if the IP address of the DHCP server is configured on the SVI of the DHCP client.

Configuring the DHCP Server

The switch can act as a DHCP server. By default, the Cisco IOS DHCP server and relay agent features
are enabled on your switch but are not configured. These features are not operational.
For procedures to configure the switch as a DHCP server, see the "Configuring DHCP" section of the
"IP addressing and Services" section of the Cisco IOS IP Configuration Guide, Release 12.2.

Configuring the DHCP Relay Agent

Beginning in privileged EXEC mode, follow these steps to enable the DHCP relay agent on the switch:
Command
Step 1
configure terminal
Step 2
service dhcp
Step 3
end
Step 4
show running-config
Step 5
copy running-config startup-config
To disable the DHCP server and relay agent, use the no service dhcp global configuration command.
See the "Configuring DHCP" section of the "IP Addressing and Services" section of the Cisco IOS IP
Configuration Guide, Release 12.2 for these procedures:

Specifying the Packet Forwarding Address

If the DHCP server and the DHCP clients are on different networks or subnets, you must configure the
switch with the ip helper-address address interface configuration command. The general rule is to
configure the command on the Layer 3 interface closest to the client. The address used in the ip
helper-address command can be a specific DHCP server IP address, or it can be the network address if
other DHCP servers are on the destination network segment. Using the network address enables any
DHCP server to respond to requests.
Beginning in privileged EXEC mode, follow these steps to specify the packet forwarding address:
OL-19808-01
Default DHCP Configuration (continued)
Purpose
Enter global configuration mode.
Enable the DHCP server and relay agent on your switch. By default, this
feature is enabled.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Checking (validating) the relay agent information
Configuring the relay agent forwarding policy
Understanding DHCP Features
Default Setting
Enabled (invalid messages are dropped)
Replace the existing relay agent information
Catalyst 2360 Switch Software Configuration Guide
2
2
14-3

Advertisement

Table of Contents
loading

Table of Contents