traceoptions (programmable-rpd)
Syntax
traceoptions { file filename <files number> <size size> <world-readable | no-world-readable>; flag flag <disable>; }
Hierarchy Level
[edit routing-options programmable-rpd]
Description
Starts logging traces related to the programmable routing protocol process (prpd). Use the
traceoptions
statement, along with related show commands, to
help debug client-server interactions, identify the flow of control, and detect
errors, get client-level information and statistics. You can filter traces according
to the flag(s) you have enabled.
Default
If you do not include this statement, no tracing operations are performed.
Options
file 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 /var/log. |
files number |
(Optional) Maximum number of trace files. When a trace file named
|
no-world-readable |
(Optional) Prevent any user from reading the log file. |
size size |
(Optional) Maximum size of each trace file, in kilobytes (KB), megabytes
(MB), or gigabytes (GB). When a trace file named
Note that if you specify a maximum file size, you also must specify a
maximum number of trace files with the
|
world-readable |
(Optional) Allow any user to read the log file. |
flag flag |
Specifies the tracing operation to perform. To specify more than one
tracing operation, include multiple
|
Required Privilege Level
routing and trace—To view this statement in the configuration.
routing-control and trace-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 16.2.