C
HAPTER
42
| DHCP Commands
DHCP Server
– 988 –
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 (988)
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.