Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


file (Trace Options)


Hierarchy Level


Configure information about the files that contain trace logging information.


filename—Name of the file containing the trace information.

  • Default: /var/log/sampled

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.