leasequery (DHCP Relay Agent)
Syntax
leasequery { attempts number-of-attempts; timeout seconds; }
Hierarchy Level
[edit forwarding-options dhcp-relay], [edit forwarding-options dhcp-relay dhcpv6], [edit logical-systems logical-system-name ...], [edit logical-systems logical-system-name routing-instances routing-instance-name ...], [edit routing-instances routing-instance-name ...]
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.
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 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.
|
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.