traceoptions (Security SCTP)
Syntax
traceoptions {
file <filename> <files files> <match match> <size size> <(world-readable | no-world-readable)>;
flag name;
no-remote-trace;
}
Hierarchy Level
[edit security sctp]
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.
Use the traceoptions function to set the trace options for Stream Control Transmission Protocol (SCTP).
From Junos OS Release 20.4R1 onwards, the [edit security gprs sctp]
hierarchy level is replaced by [edit security sctp].
Options
| file | Configure the trace file options. |
| filename | Name of the file to receive the output of the tracing operation.
Enclose the name within quotation marks. All files are placed in the
directory |
| files number | Maximum number of trace files. When a trace file named trace-file reaches its maximum
size, it is renamed to If you specify a maximum number of files, you also must specify
a maximum file size with the
|
| match match | Refine the output to include lines that contain the regular expression. |
| size size | Maximum size of each trace file, in kilobytes (KB), megabytes
(MB), or gigabytes (GB). When a trace file named If you specify a maximum file size, you also must specify a
maximum number of trace files with the Syntax:
|
| world-readable | no-world-readable | By default, log files can be accessed only by the
user who configures the tracing operation. The |
| flag | Trace operation
to perform. To specify more than one trace operation, include multiple
|
| no-remote-trace | Set remote tracing as disabled. |
Required Privilege Level
trace—To view this statement in the configuration.
trace-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release
10.2. The flag statement detail introduced in Junos OS
Release 12.1X45-D10.