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

request dhcp relay leasequery

date_range 09-Dec-23

Syntax

content_copy zoom_out_map
request dhcp relay leasequery (client-id | ipv4-address | mac-address)
gateway-address giaddr;
<server-address address | server-group group-name>
<logical-system logical-system-name>
<routing-instance routing-instance-name>

Description

Initiate a leasequery operation to update the binding information for a specific subscriber by requesting that DHCPv4 relay agent send the leasequery message to the configured DHCP servers. The DHCP leasequery feature must be configured on the DHCPv4 relay agent. If you do not specify a server-address or server-group, then the query is sent to all DHCPv4 servers known to the relay agent.

Options

Note:

You must configure at least one of client-id, ipv4-address, or mac-address.

client-id

Use the DHCPv4 client identifier option (option 61) to identify the client whose binding information is requested.

gateway-address giaddr

Gateway address of the relay agent making the request; the value in the giaddr field of the DHCP packet. You must always specify a gateway address in your request.

ipv4-address

Use the IPv4 address to identify the client whose binding information is requested.

logical-system logical-system-name

Specify an optional logical system for the DHCP servers being queried. The default logical system is used by default.

mac-address

Use the MAC address to identify the client whose binding information is requested.

routing-instance routing-instance-name

Specify an optional routing instance for the DHCPv4 servers being queried. The default routing instance is used by default.

server-address server-address

Specify the IP address of the DHCPv4 local server to query.

server-group group-name

Specify the name of a group of DHCPv4 local servers to query.

Required Privilege Level

view

Output Fields

When you enter this command, DHCP relay agent initiates the leasequery operation.

Sample Output

request dhcp relay leasequery

content_copy zoom_out_map
user@host> request dhcp relay leasequery 192.168.25.25 server-group DHCPgroup-10

Release Information

Command introduced in Junos OS Release 16.1.

footer-navigation