CLI Reference Guide-R04

Table Of Contents
Chapter 30
| DHCP Commands
DHCP Server
– 879 –
Command Usage
This command identifies a DHCP client to bind to an address specified in the
host command. If both a client identifier and hardware address are configured
for a host address, the client identifier takes precedence over the hardware
address in the search procedure.
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)#client-identifier text steve
Console(config-dhcp)#
Related Commands
host (881)
default-router This command specifies default routers for a DHCP pool. Use the no form to remove
the default routers.
Syntax
default-router address1 [address2]
no default-router
address1 - Specifies the IP address of the primary router.
address2 - Specifies the IP address of an alternate router.
Default Setting
None
Command Mode
DHCP Pool Configuration
Usage Guidelines
The IP address of the router should be on the same subnet as the client. You can
specify up to two routers. Routers are listed in order of preference (starting with
address1 as the most preferred router).
Example
Console(config-dhcp)#default-router 10.1.0.54 10.1.0.64
Console(config-dhcp)#
dns-server This command specifies the Domain Name System (DNS) IP servers available to a
DHCP client. Use the no form to remove the DNS server list.