Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show system services dhcp binding

Syntax

Description

(EX Series switches only) Display Dynamic Host Configuration Protocol (DHCP) server client binding information.

Options

none

Display brief information about all active client bindings.

detail

(Optional) Display detailed information about all active client bindings.

address

(Optional) Display detailed client binding information for the specified IP address only.

Required Privilege Level

view and system

Output Fields

Table 1 describes the output fields for the show system services dhcp binding command. Output fields are listed in the approximate order in which they appear.

Table 1: show system services dhcp binding Output Fields

Field Name

Field Description

Level of Output

Allocated address

List of IP addresses the DHCP server has assigned to clients.

All levels

MAC address

Corresponding media access control (MAC) hardware address of the client.

All levels

Client identifier

(address option only) Client's unique identifier (represented by an ASCII string or hexadecimal digits). This identifier is used by the DHCP server to index its database of address bindings.

All levels

Binding Type

Type of binding assigned to the client. DHCP servers can assign a dynamic binding from a pool of IP addresses or a static binding to one or more specific IP addresses.

All levels

Lease Expires at

Time the lease expires or never for leases that do not expire.

All levels

Lease Obtained at

(address option only) Time the client obtained the lease from the DHCP server.

detail

State

Status of the binding. Bindings can be active or expired.

detail

Pool

Address pool that contains the IP address assigned to the client.

detail

Request received on

Interface on which the DHCP message exchange occurs. The IP address pool is configured based on the interface's IP address. If a relay agent is used, its IP address is also displayed.

detail

DHCP options

User-defined options created for the DHCP server. If no options have been defined, this field is blank.

detail

Sample Output

show system services dhcp binding

show system services dhcp binding address

show system services dhcp binding address detail

Release Information

Command introduced before Junos OS Release 7.4.