Complete Software Guide for Junos
traceoptions
Syntax
Hierarchy Level
Release Information
Description
Default
Options
3200
®
OS for EX Series Ethernet Switches, Release 10.4
traceoptions {
file filename <files number> <no-stamp> <replace> <size size> <world-readable |
no-world-readable>;
flag flag <disable>;
}
[edit ethernet-switching-options]
Statement introduced in Junos OS Release 9.2 for EX Series switches.
Define global tracing operations for access security features on Ethernet switches.
The
traceoptions
feature is disabled by default.
—(Optional) Disable the tracing operation. You can use this option to disable a
disable
single operation when you have defined a broad group of tracing operations, such
as
.
all
—Name of the file to receive the output of the tracing operation. Enclose the
file filename
name within quotation marks. All files are placed in the directory
—(Optional) Maximum number of trace files. When a trace file named
files number
trace-file
reaches its maximum size, it is renamed
so on, until the maximum number of trace files is reached (
specify MB, or
to specify gigabytes), at which point the oldest trace file is
xg
overwritten. If you specify a maximum number of files, you also must specify a
maximum file size with the
Range: 2 through 1000
Default: 3 files
—Tracing operation to perform. To specify more than one tracing operation,
flag flag
include multiple flag statements. You can include the following flags:
access-security
—Trace access security events.
—All tracing operations.
all
config-internals
—Trace internal configuration operations.
—Trace forwarding database and next-hop events.
forwarding-database
general
—Trace general events.
—Trace interface events.
interface
ip-source-guard
—Trace IP source guard events.
—Trace communications over routing sockets.
krt
lib
—Trace library calls.
—Trace normal events.
normal
trace-file.0
size
option.
Copyright © 2010, Juniper Networks, Inc.
/var/log
.
, then
trace-file.1
, and
to specify KB,
to
xk
xm