C
HAPTER
42
| DHCP Commands
DHCP Server
– 983 –
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 client (with the host command) if required. You can
configure up to 8 network address pools, and up to 32 manually bound
host address pools (i.e., listing one host address per pool). However,
note that any address specified in a host command must fall within the
range of a configured network address pool.