Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


traceoptions (Next Gen Services Softwires)


Hierarchy Level


Configure softwire tracing options.


  • file—Configure trace file information.

    • filename—Name of the file to which to write the trace information.

    • files number—Maximum number of trace files.

      Range: 2 through 1000 files

    • match regular-expression—Regular expression for lines to be logged.

    • no-world-readable | world-readable—Allow or deny any user to read the log file.

    • size maximum-file-size—Maximum trace file size.

      Range: 10,240 to 1,073,741,824 bytes

  • flag—Specify events to trace.

    • all—Trace all events

    • configuration—Trace configuration events

    • flow—Trace flow events

  • no-remote-trace—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 before Release 12.1 of Junos OS.