request dhcp relay leasequery
Syntax
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
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
user@host> request dhcp relay leasequery 192.168.25.25 server-group DHCPgroup-10
Release Information
Command introduced in Junos OS Release 16.1.