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]
Release Information
Statement introduced before Junos OS Release 7.4.
Description
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.
