Configuring DHCP Address Pools
Configuring a DHCP Database Agent or Disabling Conflict Logging
Command or Action
Step 1
Switch> enable
Step 2
Switch# configure terminal
Step 3
Switch(config)# ip dhcp database url
[timeout seconds| write-delay seconds]
or
Switch(config)# no ip dhcp conflict
logging
Step 4
Switch(config)# exit
Excluding IP Addresses
The IP address configured on a device interface is automatically excluded from the DHCP address pool.
The DHCP server assumes that all other IP addresses in a DHCP address pool subnet are available for
assigning to DHCP clients.
You must exclude addresses from the pool if the DHCP server does not allocate those IP addresses to
DHCP clients. Consider a scenario where two DHCP servers are set up for the same network segment
(subnet) for redundancy. If DHCP servers do not coordinate their services with each other using a
protocol such as DHCP failover, each DHCP server must be configured to allocate addresses from a
nonoverlapping set of addresses in the shared subnet. See the Example: Configuring Manual Bindings
section for a configuration example.
Command or Action
Step 1
Switch> enable
Step 2
Switch# configure terminal
Step 3
Switch(config)# ip dhcp excluded-address
low-address [high-address]
Step 4
Switch(config)# exit
Configuring DHCP Address Pools
•
•
•
•
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
59-10
Configuring a DHCP Address Pool, page 59-11
Configuring a DHCP Address Pool with Secondary Subnets, page 59-13
Troubleshooting Tips, page 59-15
Verifying the DHCP Address Pool Configuration, page 59-16
Chapter 59
Purpose
Enables privileged EXEC mode.
Enter your password if prompted.
•
Enters global configuration mode.
Configures a DHCP server to save automatic bindings on a remote
host called a database agent.
Or
Disables DHCP address conflict logging.
Exits global configuration mode and returns to privileged EXEC
mode.
Purpose
Enables privileged EXEC mode.
Enter your password if prompted.
•
Enters global configuration mode.
Specifies IP addresses that the DHCP server should not assign to
DHCP clients.
Exits global configuration mode and returns to privileged EXEC
mode.
Configuring the Cisco IOS DHCP Server