Traceoptions - Juniper JUNOS OS 10.3 - SOFTWARE Manual

For ex series ethernet switches
Hide thumbs Also See for JUNOS OS 10.3 - SOFTWARE:
Table of Contents

Advertisement

traceoptions

Syntax
Hierarchy Level
Release Information
Description
Default
Options
Copyright © 2010, Juniper Networks, Inc.
traceoptions {
file <filename> <files number> <match regular-expression> <size size> <world-readable |
no-world-readable>;
flag flag;
no-remote-trace;
}
[edit event-options]
Statement introduced in Junos OS Release 7.5.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Define tracing operations for event policies.
If you do not include this statement, no event-policy-specific tracing operations are
performed.
—Name of the file to receive the output of the tracing operation. All files are
filename
placed in the directory
placed in the file
eventd
To retain the default, you can specify
—(Optional) Maximum number of trace files. When a trace file named
files number
trace-file
reaches its maximum size, it is renamed and compressed to
then
, and so on, until the maximum number of trace files is reached.
trace-file.1.gz
Then the oldest trace file is overwritten.
If you specify a maximum number of files, you also must specify a maximum file size with
the
option and a filename.
size
Range: 2 through 1000
Default: 3 files
—Tracing operation to perform. To specify more than one tracing operation, include
flag
multiple
flag
statements. You can include the following flags:
—Log all operations
all
configuration
—Log reading of configuration at the
—Log eventd processing
events
database
—Log events involving storage and retrieval in events database
—Log communication with processes that are generating events
server
timer-events
—Log internally generated events
match regular-expression
—(Optional) Refine the output to include lines that contain the
regular expression.
—Restrict file access to owner. This is the default.
no-world-readable
Chapter 41: Configuration Statements for System Monitoring
. By default, commit script process tracing output is
/var/log
. If you include the
file
statement, you must specify a filename.
as the filename.
eventd
[edit event-options]
trace-file.0.gz
,
hierarchy level
711

Advertisement

Table of Contents
loading

Table of Contents