Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request dhcp relay leasequery

Syntax

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

Release Information

Command introduced in Junos OS Release 16.1.