[j-nsp] DHCPv6 BLQ (Bulk Lease Query)

Aaron Gould aaron1 at gvtc.com
Tue Feb 17 18:12:20 EST 2026


Thanks Phil, the event-options is something a coworker of mine is 
suggesting also.  I'll keep that option in my back pocket for research 
should other options fail to lead us to a satisfactory result.  The JTAC 
is telling me Active Lease Query needs to be enable along with Bulk 
Lease Query.  I tried it, but don't see anything further with Active 
Lease Query, so I'm waiting on JTAC to respond.  Previously, with a few 
Bulk Lease Query commands enabled, I do see the Juniper router do a TCP6 
connection to the DHCPv6 server port 547... this occurs when I do the 
manual request.  My coworker has configured KEA to allow BLQ, and he 
does see the activity and we see it working...again, only when I the 
manual request command shown below.  I don't see this occur following a 
reboot of the Juniper router, which is the desired outcome, since IA_PD 
routes become unreachable when the binding table is cleared, and I need 
it to be populated immediately following a router reboot to minimize 
downtime.

me at lab-5048> request dhcpv6 relay bulk-leasequery routing-instance five
Bulk Leasequery Message Send

{master:0}
me at lab-5048> show system connections inet6

fpc0:
--------------------------------------------------------------------------
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address                      
          (state)
tcp6       0      0  1234:1234:1234::408f.60046 
1234:1234:1234:a0ca:192:168:192:168.547       TIME_WAIT
...




On 2/17/2026 2:49 PM, Phil Shafer wrote:
> Is the command suitable for an event policy?  If not, an event script?
>
> +  event-options {
> +      policy boot-time {
> +          events SNMPD_TRAP_COLD_START;
> +          then {
> +              execute-commands {
> +                  commands {
> +                      "your command here";
> +                  }
> +              }
> +          }
> +      }
> +  }
>
> You can add:
>
> +          within 30 {
> +              trigger on 1;
> +          }
>
> (Or other suitable time interval) if needed.
>
> Thanks,
>   Phil
>
>
>
>
> On 17 Feb 2026, at 13:16, Aaron1 via juniper-nsp wrote:
>
>> [External Email. Be cautious of content]
>>
>>
>> I have DHCPv6 BLQ (Bulk Lease Query) working on a Juniper ACX5048 as relay talking to a remote KEA server, but only using the manual CLI “request” command.  I want/need this to work if/when Juniper router reboots.  Any ideas?
>>
>>
>> Aaron
>> _______________________________________________
>> juniper-nsp mailing list juniper-nsp at puck.nether.net
>> https://urldefense.com/v3/__https://puck.nether.net/mailman/listinfo/juniper-nsp__;!!NEt6yMaO-gk!GWBDefkHPluD1wf2BDRKhqkcElzMXiw4sRifxMf_E4ZKykiEn0PvA-Z2qA94g2muRS1Nt0FoweiC76Xx28n0YQ$

-- 
-Aaron


More information about the juniper-nsp mailing list