Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

leasequery (DHCP Relay Agent)

Syntax

Hierarchy Level

Description

Enable support for leasequery on a DHCPv4 or DHCPv6 relay agent. You can also configure parameters that the DHCP relay agent uses when sending DHCP leasequery messages to obtain lease information from the DHCP local servers in the logical system/routing instance.

Note:

You must also configure support on the relevant DHCP local servers with the allow-leasequery statement.

Options

attempts number-of-attempts

Specify the number of times the DHCP relay agent attempts to send DHCP leasequery messages to the configured DHCP servers in the logical system/routing instance. DHCP relay agent resends the query message if the configured timeout value is reached, and either a confirmed reply or a reply from all configured DHCP servers has not been received. DHCP relay agent sends the subsequent messages only to the DHCP servers that have not replied to previous queries.

  • Range: 1 through 10

  • Default: 6

timeout seconds

Specify the number of seconds that DHCP relay agent waits before resending a leasequery message to the DHCP servers when all servers have not responded to a previous message.

  • Range: 1 through 10

  • Default: 10

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 16.1.