traceoptions (OVSDB)
Syntax
traceoptions { file <filename> <files number> <match regular-expression> <no-world-readable | world-readable> <size size>; flag flag; no-remote-trace; }
Hierarchy Level
[edit protocols ovsdb]
Description
Define tracing operations for the Open vSwitch Database (OVSDB) management protocol, which is supported on Juniper Networks devices.
Default
If you do not include this statement, OVSDB-specific tracing operations are not performed.
Options
file filename | Name of file in which the system places the output of the tracing operations. By default, the system places all files in the /var/log directory.
|
||||||||||||||||
files number | (Optional) Maximum number of trace files. When a trace
file reaches the size specified by the If you specify a maximum number of files, you also must specify
a maximum file size with the
|
||||||||||||||||
flag flag | Tracing operation to perform. You can include one or more of the following flags:
|
||||||||||||||||
match regular-expression | (Optional) Only log lines that match the regular expression. |
||||||||||||||||
no-remote-trace | (Optional) Disable tracing and logging operations that track normal operations, error conditions, and packets that are generated by or passed through the Juniper Networks device. |
||||||||||||||||
no-world-readable | Restrict access to the trace files to the owner.
|
||||||||||||||||
size size | (Optional) Maximum size of each trace file in bytes, kilobytes
(KB), megabytes (MB), or gigabytes (GB). If you do not specify a unit,
the default is bytes. If you specify a maximum file size, you also
must specify a maximum number of trace files by using the
|
||||||||||||||||
world-readable | Enable any user to access the trace files. |
Required Privilege Level
admin—To view this statement in the configuration.
admin-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 14.1R2.