Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


traceoptions (Security Dynamic VPN)


Hierarchy Level


Configure dynamic VPN tracing options. This feature is supported on SRX300, SRX320, SRX340, SRX345, and SRX550HM devices.

In Junos OS Release 21.4R1, we’ve deprecated the traceoptions configuration statement and we might remove it completely in a future release.



Configure the trace file options.

file filename—Name of the file to receive the output of the tracing operation.


Trace operation to perform. To specify more than one trace operation, include multiple flag statements.

  • Values:

    • all—Enable all tracing operations


Level of debugging output

  • Values:

    • all—Match all levels

    • error—Match error conditions

    • info—Match informational messages

    • notice—Match conditions that should be handled specially

    • verbose—Match verbose messages

    • warning—Match warning messages


Disable remote tracing

Required Privilege Level

trace—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 12.1X44-D10.