active-leasequery (DHCP Relay Agent)
Syntax
active-leasequery {
idle-timeout seconds;
peer-address address;
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 active leasequery on a DHCPv4 or DHCPv6 relay agent. You can also configure parameters that the DHCP relay agent uses when sending DHCP active lease query messages to obtain lease information from the DHCP servers in the logical system/routing instance.
Options
| idle-timeout seconds |
(Optional) Specify the number of seconds that pass with no activity before the TCP connection is terminated and restarted. During active leasequery operations, binding information is updated only when it changes. Consequently, there are periods during which the server or peer relay agent sends no information; the connection is idle. If this period is longer than the idle-timeout, the connection is dropped. To avoid inappropriate connection drops, the server or peer relay agent sends DHCPLEASEACTIVE (DHCPv4) or LEASEQUERY-DATA (DHCPv6) messages at intervals equal to one-half of the idle timeout period. These messages contain no binding information because they are sent when no updates are available. These messages keep the connection alive by serving as hello or keepalive messages signaling that the lack of activity is not a problem.
|
| peer-address address |
(Optional) Specify the address of a peer relay agent to synchronize binding information. You can configure up to five peer addresses. If the subscriber configuration and interface names are identical on peer relay agents, then active leasequery provides 1:1, chassis-level redundancy between peers for binding information. Note:
You can also achieve 1:1 chassis redundancy with an M:N redundancy configuration where:
|
| timeout seconds |
(Optional) Specify the number of seconds that TCP read/write operations can be blocked before the TCP connection is terminated and restarted.
|
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 19.1R1.