Configuring The Dhcp Server; Dhcp Server And Switch Stacks; Configuring The Dhcp Relay Agent - Cisco Catalyst 3750-E Software Configuration Manual

Hide thumbs Also See for Catalyst 3750-E:
Table of Contents

Advertisement

Configuring DHCP Features
Do not enable Dynamic Host Configuration Protocol (DHCP) snooping on RSPAN VLANs. If DHCP
Note
snooping is enabled on RSPAN VLANs, DHCP packets might not reach the RSPAN destination port.

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.

DHCP Server and Switch Stacks

The DHCP binding database is managed on the stack master. When a new stack master is assigned, the
new master downloads the saved binding database from the TFTP server. If the stack master fails, all
unsaved bindings are lost. The IP addresses associated with the lost bindings are released. You should
configure an automatic backup by using the ip dhcp database url [timeout seconds | write-delay
seconds] global configuration command.
When a stack merge occurs, the stack master that becomes a stack member loses all of the DHCP lease
bindings. With a stack partition, the new master in the partition acts as a new DHCP server without any
of the existing DHCP lease bindings.
For more information about the switch stack, see

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
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
22-10
To ensure that the lease time in the database is accurate, we recommend that you enable and
configure NTP. For more information, see the
If NTP is configured, the switch writes binding changes to the binding file only when the switch
system clock is synchronized with NTP.
Do not enter the ip dhcp snooping information option allow-untrusted command on an
aggregation switch to which an untrusted device is connected. If you enter this command, an
untrusted device might spoof the option-82 information.
Starting with Cisco IOS Release 12.2(37)SE, you can display DHCP snooping statistics by entering
the show ip dhcp snooping statistics user EXEC command, and you can clear the snooping
statistics counters by entering the clear ip dhcp snooping statistics privileged EXEC command.
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.
Chapter 22
Configuring DHCP Features and IP Source Guard
"Configuring NTP" section on page
Chapter 5, "Managing Switch Stacks."
7-4.
OL-9775-08

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst3560-e

Table of Contents