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

Aaron Gould via juniper-nsp <[email protected]> Tue, 17 Feb 2026 17:12:20 -0600
Newsgroups gmane.network.nsp.juniper
Message-ID <[email protected]>
--===============8723962934754767569==
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

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@lab-5048> request dhcpv6 relay bulk-leasequery routing-instance five
Bulk Leasequery Message Send

{master:0}
me@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 [email protected]
>> https://urldefense.com/v3/__https://puck.nether.net/mailman/listinfo/juniper-nsp__;!!NEt6yMaO-gk!GWBDefkHPluD1wf2BDRKhqkcElzMXiw4sRifxMf_E4ZKykiEn0PvA-Z2qA94g2muRS1Nt0FoweiC76Xx28n0YQ$

-- 
-Aaron


--===============8723962934754767569==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KanVuaXBlci1u
c3AgbWFpbGluZyBsaXN0IGp1bmlwZXItbnNwQHB1Y2submV0aGVyLm5ldApodHRwczovL3B1Y2su
bmV0aGVyLm5ldC9tYWlsbWFuL2xpc3RpbmZvL2p1bmlwZXItbnNwCg==

--===============8723962934754767569==--