Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?





Hierarchy Level

Release Information

Statement introduced in Junos OS Release 19.1R1.


Enable DHCP session log on the device. Session logs include the information on the session creation, deletion and renew events. You can use the session logs for monitoring and troubleshooting purposes.


  • session—Logs of the DHCP sessions.

  • client—Log sessions of the DHCP client.

  • all—Log sessions of the DHCP client, server and relay.

  • dhcpv6—Log sessions of the DHCPv6.

  • client—Log sessions of the DHCPv6 client.

  • dynamic-server—Log sessions of the DHCPv6 dynamic server.

  • all—Log sessions of the DHCPv6 client, server, relay and dynamic server.

  • server—Log sessions of the DHCP server.

  • relay—Log sessions of the DHCP relay.

Required Privilege Level

admin—To view this statement in the configuration.

admin-control—To add this statement to the configuration.

Related Documentation