files (Sampling and Traceoptions)
Syntax
files number;
Hierarchy Level
[edit forwarding-options helperstraceoptions file], [edit forwarding-options port-mirroring traceoptions file], [edit forwarding-options sampling family family-name output file], [edit forwarding-options sampling traceoptions file]
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
Configure the total number of files to be saved with samples or trace data.
Options
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.