ip dhcp client client-id

Last Updated : May 10, 2021 |
Specifies the client-identifier for the DHCP client. Use no ip dhcp client client-id to restore the default value, which is the MAC address of the interface.
Prolog information
To obtain the MAC address of the interface, use the show system command or the show interfaces fastethernet 10/3 command.

Syntax

[no] ip dhcp client client-id {hex hex-string}

Parameters

Parameter
Description
Possible Values
Default Value
hex
Keyword indicating that a hex string specifies the class identifier for the DHCP client
hex-string
A Hex string specifying the class identifier for the DHCP client
string, 1-80 bytes
01 : MAC address of the interface

User level

read-write

Context

interface: VLAN, FastEthernet

Example

To specify the client-identifier as hexadecimal code 02:34:56:
Gxxx-001(config-if:FastEthernet 10/3)#ip dhcp client client-id hex 02:34:56