traceoptions (Dynamic Flow Capture)
Syntax
traceoptions {
file filename <files number> <size size> <world-readable | non-world-readable>;
}
Hierarchy Level
[edit services dynamic-flow-capture]
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.
Enable and define tracing options for dynamic flow capture events.
Options
| file filename | Use the specified file to receive the output of the tracing operation. Enclose the name within quotation marks. All files are placed in the directory /var/log. |
| files number | (Optional) Use the specified maximum number of trace
files. When a trace file named trace-file reaches
its maximum size, it is renamed trace-file.0,
then trace-file.1, and so on, until the maximum
number of trace files is reached. Then, the oldest trace file is overwritten.
Note that if you specify a maximum number for files, you must also
specify a maximum file size with the
|
| no-world-readable | (Optional) Restrict access to the file. |
| world-readable | (Optional) Enable free access to the file. |
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.2.