Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

client-identifier (DHCP Client)

date_range 16-May-24

Syntax

content_copy zoom_out_map
client-identifier {
    hardware-type type-number
    user-id {ascii ascii hexadecimal hexadecimal;
    use-interface-description {logical |device};
    prefix [host-name routing-instance-name];
}

Hierarchy Level

content_copy zoom_out_map
[edit interfaces name unit name family  inet dhcp],
[edit interfaces interface-range name unit name family inet dhcp]

Description

The DHCP server identifies a client by a client-identifier value.

Options

hardware-type

Specify the type of hardware used for the interface on which the client access. Ethernet is the common hardware type and the value for Ethernet is 1.

  • Default: Zero

  • Range: Zero through 255

ascii

Client identifier as an ASCII string

hexadecimal

Client identifier as a hexadecimal string

prefix

Add prefix to client-id option

  • Values:

    • host-name—Add router host name to client-id option

    • logical-system-name—Add logical system name to client-id option

    • routing-instance-name—Add routing instance name to client-id option

use-interface-description

Use the interface description

  • Values:

    • device—Use the device interface description

    • logical—Use the logical interface description

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 12.1X44-D10.

Starting with Junos OS Release 17.3R1, on all SRX Series Firewalls and vSRX Virtual Firewall instances, the CLI option dhcp-client at [edit interfaces interface-name unit logical-unit-number family inet] hierarchy is changed to dhcp to keep consistent with other Junos platforms. There is no change in the functionality with the changed CLI option dhcp.

The option hardware-type is added in Junos OS Release 20.2R1.

footer-navigation