active-leasequery (DHCP Relay Agent)
Syntax
active-leasequery { idle-timeout seconds; peer-address address; timeout seconds; topology-discover; }
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.
|
topology-discover |
(Optional) Activate the topology discovery mechanism to discover peer access links for a redundancy group and their connections to the local access link. You configure this option on peer relay agents hosted on BNGs that are configured for M:N subscriber redundancy. Note:
Configure interfaces participating in redundancy for a subset of subscribers and not for the entire chassis. Topology discovery is needed only for M:N subscriber redundancy. Topology discovery synchronizes only the subscribers stacked over configured interfaces. Chassis-to-chassis based redundancy provides the following limitations and advantages:
Each relay agent peer initiates topology discovery for all of its access interfaces. Each peer then updates its own translation table according the information received in topology discovery responses. |
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.
topology-discover
option added in Junos OS Release 19.2R1.