Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring a Regular Expression for Extended DHCP Messages to Be Logged

By default, the trace operation output includes all messages relevant to the logged events. You can refine the output by including regular expressions to be matched.

DHCP local server and DHCP relay agent both support the match option for the traceoptions statement and the interface-traceoptions statement. To configure regular expressions to be matched:

  • Specify the regular expression for global tracing operations.
    [edit system processes dhcp-service traceoptions]user@host# set file filename match regular-expression
  • Specify the regular expression for per-interface tracing operations.
    [edit system processes dhcp-service interface-traceoptions]user@host# set file filename match regular-expression

Published: 2013-08-28

Supported Platforms

Published: 2013-08-28