59-10
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 59 Configuring the Cisco IOS DHCP Server
Configuring DHCP Address Pools
Configuring a DHCP Database Agent or Disabling Conflict Logging
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.
Configuring DHCP Address Pools
•
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
Command or Action
Purpose
Step 1
Switch>
enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
Switch#
configure terminal
Enters global configuration mode.
Step 3
Switch(config)#
ip dhcp database url
[
timeout
seconds
|
write-delay
seconds
]
or
Switch(config)#
no ip dhcp conflict
logging
Configures a DHCP server to save automatic bindings on a remote
host called a database agent.
Or
Disables DHCP address conflict logging.
Step 4
Switch(config)#
exit
Exits global configuration mode and returns to privileged EXEC
mode.
Command or Action
Purpose
Step 1
Switch>
enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
Switch#
configure terminal
Enters global configuration mode.
Step 3
Switch(config)#
ip dhcp excluded-address
low-address
[
high-address
]
Specifies IP addresses that the DHCP server should not assign to
DHCP clients.
Step 4
Switch(config)#
exit
Exits global configuration mode and returns to privileged EXEC
mode.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...