Chapter 29
| DHCP Commands
DHCP Server
– 898 –
Command Mode
DHCP Pool Configuration
Command Usage
This command identifies a DHCP or BOOTP client to bind to an address specified in
the host command. BOOTP clients cannot transmit a client identifier. To bind an
address to a BOOTP client, you must associate a hardware address with the host
entry.
Example
Console(config-dhcp)#hardware-address 00-e0-29-94-34-28 ethernet
Console(config-dhcp)#
Related Commands
host (898)
host Use this command to specify the IP address and network mask to manually bind to
a DHCP client. Use the no form to remove the IP address for the client.
Syntax
host address [mask]
no host
address - Specifies the IP address of a client.
mask - Specifies the network mask of the client.
Default Setting
None
Command Mode
DHCP Pool Configuration
Usage Guidelines
â—† Host addresses must fall within the range specified for an existing network
pool.
â—† When a client request is received, the switch first checks for a network address
pool matching the gateway where the request originated (i.e., if the request
was forwarded by a relay server). If there is no gateway in the client request (i.e.,
the request was not forwarded by a relay server), the switch searches for a
network pool matching the interface through which the client request was
received. It then searches for a manually configured host address that falls
within the matching network pool.