[j-nsp] dhcpv6 IA_PD syslogging

Aaron Gould aaron1 at gvtc.com
Wed Jul 3 10:08:57 EDT 2024


Thanks, I have that in my configuration.  It is only showing the IA_NA 
CPE WAN single /128 IP address assignment in syslog messages, and not 
the IA_PD ipv6 delegated prefix assignment that I also need to see in 
syslog.  I can enable traceoptions to see the delegated prefix, but jtac 
is reminding me that traceoptions aren't normally left running forever, 
but only for momentary tshooting.  JTAC did also inform me of a PR that 
I might be hitting but when I compare the PR to what I am seeing it 
doesn't seem to be the same issue.  This might be a moot point for me 
since we may stop testing dhcpv6 in junos and move to the more likely 
deployment scenario of central dhcpv6 servers using ISC KEA... to which 
I hope the logging is then sufficient.  Thanks again

set system processes dhcp-service log session dhcpv6 all

my-acx5048 jdhcpd: DH_SVC_V6_SERVER_GET_BOUND: DHCPv6 server changed a 
binding to state BOUND:default/five, interface irb.1010, MAC 
60:db:98:12:34:56, IP 1234:abcd:ffff::a, lease-time 86400.


-Aaron



On 7/3/2024 12:45 AM, Wojciech Janiszewski wrote:
> Hi Aaron,
>
> You can try log session option under dhcp-service process as described in
> https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/dhcp-service-log-edit-systems.html
>
> HTH,
>
> Regards,
> Wojciech
>
>
> śr., 3 lip 2024, 06:26 użytkownik Aaron1 via juniper-nsp 
> <juniper-nsp at puck.nether.net> napisał:
>
>     I see IA_PD prefix delegation logging in the local jdhcpd file.  I
>     need the PD assignment per CPE logged and sent to a remote syslog
>     server.  Does any know how to accomplish this?  I enabled several
>     traceoption flags to get the PD activity to show up in jdhcpd locally.
>
>     Aaron
>     _______________________________________________
>     juniper-nsp mailing list juniper-nsp at puck.nether.net
>     https://puck.nether.net/mailman/listinfo/juniper-nsp
>     <https://puck.nether.net/mailman/listinfo/juniper-nsp>
>
-- 
-Aaron


More information about the juniper-nsp mailing list