DHCP Commands
15-86 Configuring DHCP
Example
ThefollowingexamplespecifiestheclientidentifierforMACaddress00.01f4.0127.10indotted
hexadecimalnotation:
XSR(config-dhcp)#client-identifier 0100.01f4.0127.10
ThefollowingexamplespecifiestheclientidentifierforMACaddress0001.f401.2710indotted
hexadecimalnotation,forthehostwithIPaddress10.10.10.20:
XSR(config-dhcp-pool)#host 10.10.10.20 255.255.255.0
XSR(config-dhcp-host)#client-identifier 0100.01f4.0127.10
ThefollowingexamplespecifiestheclientidentifierforMACaddress00.01f4.0127.10indotted
hexadecimalnotation,andaddsittoclasseng:
XSR(config-dhcp-pool)#client-class eng
XSR(config-dhcp-class)#client-identifier 0100.01f4.0127.10

client-name

ThiscommandspecifiesthenameofaDHCPclient.Theclientnameshouldnotincludethe
domainname.ThecommandisavailablefromDHCPhostmodeonly.
Syntax
client-name name
Syntax of the “no” Form
Usethenoformofthiscommandtoremovetheclientname:
no client-name name
Mode
DHCPhostconfigurationonly:XSR(config-dhcp-host)#
Example
Thefollowingexamplespecifiesastringsoho1thatwillbethenameoftheclientwithMAC
address1111.2222.3333:
XSR(config-dhcp-pool)#hardware-address 1111.2222.3333
XSR(config-dhcp-host)#client-name soho1
name Designation of the client, defined using any set of standard ASCII characters. The client
name should not include the domain name. For example, the name soho should not be
specified as soho.enterasys.com.