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

show dhcp relay binding (Security)

date_range 29-May-24

Syntax

content_copy zoom_out_map
Show dhcp relay binding
[<address> |interface <interface-name>]
routing-instance <routing-instance name>
[brief | detail | summary]

Description

Display the address bindings in the Dynamic Host Configuration Protocol (DHCP) relay client table.

Options

address

(Optional) Display DHCP binding information for a specific client identified by one of the following entries:

  • ip-address—The specified IP address.

  • mac-address—The specified MAC address.

routing-instance <routing-instance name>

(Optional) Display DHCP binding information on the specified routing instance.

interface <interface-name>

(Optional) Perform this operation on the specified interface.

brief

(Optional) Display brief information about the active client bindings.

detail

(Optional) Display detailed client binding information.

summary

(Optional) Display a summary of DHCP client information.

Required Privilege Level

view

Output Fields

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

Table 1: show dhcp relay binding Output Fields

Field Name

Field Description

IP address

IP address of the DHCP client.

Hardware address

Hardware address of the DHCP client.

Request received on

Interface on which the request was received.

Type

Type of DHCP packet processing performed on the device.

Obtained at

Date and time at which the client’s IP address lease started.

Expires at

Date and time at which the client’s IP address lease expires.

State

State of the address binding table on the DHCP local server.

Sample Output

show dhcp relay binding

content_copy zoom_out_map
user@host> show dhcp relay binding detail
IP address       Hardware address   Type     Lease expires            State
       100.20.32.1      90:00:00:01:00:01  active   2007-01-17 11:38:47 PST  rebind
       100.20.32.3      90:00:00:02:00:01  active   2007-01-17 11:38:41 PST  rebind
       100.20.32.4      90:00:00:03:00:01  active   2007-01-17 11:38:01 PST  rebind
       100.20.32.5      90:00:00:04:00:01  active   2007-01-17 11:38:07 PST  rebind
       100.20.32.6      90:00:00:05:00:01  active   2007-01-17 11:38:47 PST  rebind

command-name

content_copy zoom_out_map
user@host> show dhcp relay binding 100.20.32.1
Active binding information:
           IP address               100.20.32.1
           Hardware address         90:00:00:01:00:01

       Lease information:
          Type                DHCP
          Obtained at         2007-01-17 11:28:47 PST
          Expires at          2007-01-17 11:38:47 PST

       > show dhcp relay binding 100.20.32.1 detail
       Active binding information:
           IP address              100.20.32.1
           Hardware address        90:00:00:01:00:01
           Request received on     fe-0/0/2.0, relayed by 100.20.32.2

       Lease information:
           Type                 DHCP
           Obtained at          2007-01-17 11:28:47 PST
           Expires at           2007-01-17 11:38:47 PST
           State                rebind

Release Information

Statement introduced in Junos OS Release 12.1X44-D10.

footer-navigation