traceoptions (Next Gen Services Softwires)
Syntax
traceoptions {
file {
filename;
files number;
match regular-expression;
(no-world-readable | world-readable);
size maximum-file-size;
}
flag (all | configuration | flow);
no-remote-trace;
}
Hierarchy Level
[edit security softwires]
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 softwire tracing options.
Options
file—Configure trace file information.
filename—Name of the file to which to write the trace information.
files number—Maximum number of trace files.
Range: 2 through 1000 files
match regular-expression—Regular expression for lines to be logged.
no-world-readable | world-readable—Allow or deny any user to read the log file.
size maximum-file-size—Maximum trace file size.
Range: 10,240 to 1,073,741,824 bytes
flag—Specify events to trace.
all—Trace all events
configuration—Trace configuration events
flow—Trace flow events
no-remote-trace—Disable remote tracing.
Required Privilege Level
trace—To view this statement in the configuration.
trace-control—To add this statement to the configuration.
Release Information
Statement introduced before Release 12.1 of Junos OS.