Complete Software Guide for Junos
traceoptions
Syntax
Hierarchy Level
Release Information
Description
Default
Options
2736
®
OS for EX Series Ethernet Switches, Release 10.3
traceoptions {
file filename <files number> <size size> <world-readable | no-world-readable> <match
regex>;
flag flag ;
}
[edit protocols dot1x]
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Define tracing operations for the 802.1X protocol.
Tracing operations are disabled.
filename—Name of the file to receive the output of the tracing operation. Enclose the
file
name within quotation marks. All files are placed in the directory
number—(Optional) Maximum number of trace files. When a trace file named
file
reaches its maximum size, it is renamed
the maximum
xk
to specify KB,
of trace files is reached. 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.
size
Range: 2 through 1000
Default: 3 files
flag
flag—Tracing operation to perform. To specify more than one tracing operation,
include multiple flag statements. You can include the following flags:
—All tracing operations.
all
config-internal
—Trace internal configuration operations.
—Trace general operations.
general
normal
—Trace normal operations.
—Trace reading of the configuration.
parse
regex-parse
—Trace regular-expression parsing operations.
—Trace protocol state changes.
state
task
—Trace protocol task operations.
—Trace protocol timer operations.
timer
regex—(Optional) Refine the output to include lines that contain the regular
match
expression.
—(Optional) Restricted file access to the user who created the file.
no-world-readable
, then
trace-file.0
trace-file.1
xm
to specify MB, or
xg
to specify gigabytes number
Copyright © 2010, Juniper Networks, Inc.
/var/log
.
trace-file
, and so on, until