file (Trace Options)
Syntax
file filename {
files number;
size bytes;
world-readable | no-world-readable>;
}
Hierarchy Level
[edit forwarding-options port-mirroring traceoptions], [edit forwarding-options sampling traceoptions]
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 information about the files that contain trace logging information.
Options
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.