DHCP Server Commands
78-21075-01 Command Line Interface Reference Guide
Console(config-dhcp)#
The following example shows a one-hour lease.
Console(config-dhcp)#
The following example shows a one-minute lease.
Console(config-dhcp)#
The following example shows an infinite (unlimited) lease.
Console(config-dhcp)#
53.7
client-name
Use the client-name DHCP Pool Host Configuration mode command to define the
name of a DHCP client. The client name should not include the domain name.
Use the no form of this command to remove the client name.
Syntax
name
client-name
no client-name
Parameters
name—Specifies the client name, using standard ASCII characters. The client
name should not include the domain name. For example, the name Mars should not
be specified as mars.yahoo.com. (Length: 1–32 characters)
Command Mode
DHCP Pool Host Configuration mode
Default Configuration
No client name is defined.
Example
The following example defines the string client1 as the client name.
Console(config-dhcp)#
lease
1
lease
0 1
lease
0 0 1
lease infinite
client-name
client1
53
879