Command Usage
If the DHCP server is running, you must restart it to implement any
configuration changes.
Example
Console(config)#service dhcp
Console(config)#
ip dhcp excluded-address
This command specifies IP addresses that the DHCP server should not assign to
DHCP clients. Use the
no
form to remove the excluded IP addresses.
Syntax
[
no
]
ip dhcp excluded-address
low-address [high-address]
• low-address - An excluded IP address, or the first IP address in an excluded
address range.
• high-address - The last IP address in an excluded address range.
Default Setting
All IP pool addresses may be assigned.
Command Mode
Global Configuration
Example
Console(config)#ip dhcp excluded-address 10.1.0.19
Console(config)#
ip dhcp pool
This command configures a DHCP address pool and enter DHCP Pool
Configuration mode. Use the
no
form to remove the address pool.
Syntax
[no] ip dhcp pool name
name - A string or integer. (Range: 1-8 characters)
Default Setting
DHCP address pools are not configured.
Command Mode
Global Configuration
Usage Guidelines
• After executing this command, the switch changes to DHCP Pool
Configuration mode, identified by the (config-dhcp)# prompt.
• From this mode, first configure address pools for the network interfaces (using
the
network
command). You can also manually bind an address to a specific
39-6
DHCP Commands
39