Chapter 29
| DHCP Commands
DHCP Server
– 897 –
â—† Servers are listed in order of preference (starting with address1 as the most
preferred server).
Example
Console(config-dhcp)#dns-server 10.1.1.253 192.168.3.19
Console(config-dhcp)#
domain-name This command specifies the domain name for a DHCP client. Use the no form to
remove the domain name.
Syntax
domain-name domain
no domain-name
domain - Specifies the domain name of the client.
(Range: 1-32 characters)
Default Setting
None
Command Mode
DHCP Pool Configuration
Example
Console(config-dhcp)#domain-name sample.com
Console(config-dhcp)#
hardware-address This command specifies the hardware address of a DHCP client. This command is
valid for manual bindings only. Use the no form to remove the hardware address.
Syntax
hardware-address hardware-address type
no hardware-address
hardware-address - Specifies the MAC address of the client device.
type - Indicates the following protocol used on the client device:
•ethernet
• ieee802
•fddi
Default Setting
If no type is specified, the default protocol is Ethernet.