Traceoptions - Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual

For ex series ethernet switches
Table of Contents

Advertisement

traceoptions

Syntax
Hierarchy Level
Release Information
Description
Default
Options
Copyright © 2010, Juniper Networks, Inc.
traceoptions {
file name <replace> <size size> <files number> <no-stamp>
<(world-readable | no-world-readable)>;
flag flag <flag-modifier> <disable>;
}
[edit protocols mstp],
[edit protocols rstp],
[edit protocols stp],
[edit protocols vstp vlan vlan-id]
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement updated in Junos OS Release 9.4 for EX Series switches to add VSTP support.
Set protocol-level tracing options for STP, RSTP, MSTP, and VSTP.
Traceoptions is disabled.
—(Optional) Disable the tracing operation. One use of this option is 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 name
name in quotation marks. We recommend that you place STP tracing output in the
file
.
/var/log/stp-log
—(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 must also specify a maximum file size with
the size option.
Range: 2 through 1000 files
Default: 1 trace file only
—Tracing operation to perform. To specify more than one tracing operation, include
flag
multiple
flag
statements:
—Trace all operations.
all
—Trace all failure conditions.
all-failures
bpdu
—Trace BPDU reception and transmission. Note that you must also use
port-transmit-state-machine
bridge-detection-state-machine
—Trace events of the protocol state machine.
events
Chapter 74: Configuration Statements for Spanning-Tree Protocols
trace-file .0
in order to log transmit operations.
—Trace the bridge detection state machine.
, then
, and
trace-file .1
1859

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents