Traceoptions (Protocols) - Juniper EX9200 Features Manual

High availability feature guide ex series
Hide thumbs Also See for EX9200:
Table of Contents

Advertisement

traceoptions (Protocols)

Syntax
Hierarchy Level
Release Information
Description
Default
Options
Copyright © 2017, Juniper Networks, Inc.
traceoptions {
file name <size size> <files number> <world-readable | no-world-readable>;
flag flag <flag-modifier> <disable>;
}
[edit protocols isis],
[edit protocols (ospf | ospf3)]
Statement introduced before Junos OS Release 7.4.
flag for IS-IS and OSPF/OSPFv3 added in Junos OS Release 8.4.
graceful-restart
Define tracing operations that graceful restart functionality in the router or switch.
To specify more than one tracing operation, include multiple
If you do not include this statement, no global 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
—Name of the file to receive the output of the tracing operation. Enclose the
file name
name within quotation marks. All files are placed in the directory
recommend that you place global routing protocol tracing output in the file
routing-log
.
—(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. Then the oldest trace file
is overwritten.
Range: 2 through 1000 files
Default: 2 files
If you specify a maximum number of files, you also must specify a maximum file size with
the
option.
size
—Tracing operation to perform. To specify more than one tracing operation,
flag flag
include multiple
statements. The nonstop active routing tracing option is:
flag
graceful-restart
—Tracing operations for nonstop active routing
—Restrict users from reading the log file.
no-world-readable
size size
—(Optional) Maximum size of each trace file, in kilobytes (KB), megabytes (MB),
or gigabytes (GB). When a trace file named
. When the
trace-file.0
trace-file
trace-file.1
and
trace-file
Chapter 21: Configuration Statements: Graceful Restart
trace-file.0
trace-file
again reaches its maximum size,
is renamed
trace-file.0
. This renaming scheme continues
statements.
flag
. We
/var/log
, then
trace-file.1
, and
reaches this size, it is renamed
is renamed
trace-file.0
247

Advertisement

Table of Contents
loading

Table of Contents