traceoptions (sFlow Technology)
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 11.3 for the QFX Series.
Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.
Description
Define tracing operations for sFlow technology.
Default
The traceoptions feature is disabled.
Options
/var/log/
directory.trace-file
reaches its
maximum size, it is renamed trace-file.0
. Incoming trace file data is logged in the now empty trace-file
. When trace-file
again reaches its maximum size, trace-file.0
is renamed trace-file.1
and trace-file
is renamed trace-file.0
. This renaming scheme continues until the maximum number of trace
files is reached. Then the oldest trace file is overwritten.If you specify the maximum number of files, you must also specify the maximum file size using the size option.
Range: 2 through 1000 files
Default: 1 trace file
all—Trace all sFlow monitoring events.
client-server—Trace sFlow monitoring client-server events.
configuration—Trace sFlow monitoring configuration events.
interface—Trace sFlow monitoring interface events.
rtsock—Trace routing socket code events.
trace-file
reaches its maximum size, it is renamed trace-file.0
. Incoming trace file data is logged
in the now empty trace-file
. When trace-file
again reaches its maximum size, trace-file.0
is renamed trace-file.1
and trace-file
is renamed trace-file.0
. This renaming scheme continues until
the maximum number of trace files is reached. Then the oldest trace
file is overwritten.If you specify a maximum file size, you must also specify a maximum number of trace files with the files option.
Syntax: xk to specify KB, xm to specify MB, or xg to specify GB
Range: 10 KB through the maximum file size of 4 GB
Default: 128 KB
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.