traceoptions (Class of Service)
Syntax
traceoptions { file filename <size size> <files number> <world-readable | no-world-readable>; flag flag <flag-modifier>; no-remote-trace }
Hierarchy Level
[edit class-of-service]
Description
Set class-of-service (CoS) tracing options.
The traceoptions
statement is not supported
on the QFabric system.
Default
Traceoptions is disabled.
Options
file filename |
Name of the file to receive the tracing operation output. Enclose the
name in quotation marks. Traceoption output files are located in the
|
files number |
(Optional) Maximum number of trace files. When a trace file named
If you specify a maximum number of files, you must also specify a maximum file size with the size option.
|
flag |
Tracing operation to perform. To specify more than one tracing operation,
include multiple
The following are the global tracing options:
|
no-remote-trace |
(Optional) Disable remote tracing. |
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
If you specify a maximum file size, you must also specify a maximum
number of trace files with the
|
world-readable |
(Optional) Allow any user to read the log file. |
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 11.1.