Traceoptions (Interface Process) - Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual

For ex series ethernet switches
Table of Contents

Advertisement

Complete Software Guide for Junos

traceoptions (Interface Process)

Syntax
Hierarchy Level
Release Information
Description
Default
Options
1422
®
OS for EX Series Ethernet Switches, Release 10.4
traceoptions {
file <filename> <files number> <match regular-expression> <size size> <world-readable |
no-world-readable>;
flag flag <disable>;
no-remote-trace;
}
[edit interfaces]
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Define tracing operations for the interface process (dcd).
If you do not include this statement, no interface-specific tracing operations are performed.
—(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
filename
—Name of the file to receive the output of the tracing operation. Enclose the
name within quotation marks. All files are placed in the directory
interface process tracing output is placed in the file
—(Optional) Maximum number of trace files. When a trace file named
files number
reaches its maximum size, it is renamed
trace-file
so on, until the maximum number 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
—Tracing operation to perform. To specify more than one tracing operation, include
multiple
statements. You can include the following flags:
flag
all
—Log changes that produce configuration events
change-events
—Log the configuration state machine changes
config-states
—Log configuration IPC messages to kernel
kernel
—Log details of configuration messages to kernel
kernel-detail
no-world-readable
—(Optional) Disallow any user to read the log file.
. By default,
/var/log
.
dcd
, then
trace-file.0
trace-file.1
Copyright © 2010, Juniper Networks, Inc.
, and

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents