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
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.