Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


files (Sampling and Traceoptions)


Hierarchy Level


Configure the total number of files to be saved with samples or trace data.


number—Maximum number of traffic sampling or trace log files. When a file named sampling-file reaches its maximum size, it is renamed sampling-file.0, then sampling-file.1, and so on, until the maximum number of traffic sampling files is reached. Then the oldest sampling file is overwritten.

  • Range: 1 through 100 files

  • Default: 5 files for sampling output; 10 files for trace log information

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.