I'm trying to log DHCP bindings (IP -> MAC mapping).
I do NOT mean displaying the current bindings with show dhcp [...]. I mean sending log messages to a syslog server.
To quote Juniper:
This was added by SRX team with RLI 39642 but it is not SRX specific. In can be enabled for any platform per the specification.
DH_SVC_V4_SERVER_GET_BOUND: DHCPv4 server changed a binding to state BOUND:default/default, interface ge-0/0/6.0, MAC 44:f4:77:d6:67:0a, IP 220.127.116.11, lease-time 150.
Does anyone know what an RLI is and in what version of JunOS one may find this particular RLI?
RLI's are for internal use only.
This feachure is not released yet. It is expected in Junos 19.1R1.
Thank you for the quick response, Roman.
Do you know if it will also be back-ported to the JTAC-recommended (for SRX3xx) 15.1X49?
I'm not aware of any plans to back-port this feature to prior release(s), including 15.1X49.
I would suggest to reach out to your Juniper SE representative on this matter.
Thank you, Roman. Stay safe.
I think this is it, in 19.1R1:
Monitoring DHCP session logs (SRX Series)—Starting in Junos OS Release 19.1R1, you can monitor the Dynamic Host Configuration Protocol (DHCP) session events. Using the session logs generated by the jdhcp process, you can observe the session (subscribe) creation, session deletion, and renew events details. You can configure the DHCP session logs by using the log session and log session dhcpv6 options at the [edit system processes dhcp-service] hierarchy level for IPv4 and IPv6 addresses, respectively. You can use the session logs for monitoring and troubleshooting purposes.