Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Access to the Extended DHCP Log File

    By default, only the user who configures the tracing operation can access the log files. You can enable all users to read the log file and you can explicitly set the default behavior of the log file.

    DHCP local server supports the world-readable option and the no-world-readable option for the traceoptions statement and the interface-traceoptions statement. To specify that all users can read the log file:

    • Configure the log file to be world-readable for global tracing operations.
      [edit system processes dhcp-service traceoptions]
      user@host# set file filename world-readable
    • Configure the log file to be world-readable for per-interface tracing operations.
      [edit system processes dhcp-service interface-traceoptions]
      user@host# set file filename world-readable

    To explicitly set the default behavior, in which the log file can only be read by the user who configured tracing:

    • Configure the log file to be no-world-readable for global tracing operations.
      [edit system processes dhcp-service traceoptions]
      user@host# set file filename no-world-readable
    • Configure the log file to be no-world-readable for per-interface tracing operations.
      [edit system processes dhcp-service interface-traceoptions]
      user@host# set file filename no-world-readable

    Modified: 2017-09-13