Configuring Characteristics Of The Virtual Chassis Trace Log File - Juniper EX9200 Features Manual

Virtual chassis feature guide ex series
Hide thumbs Also See for EX9200:
Table of Contents

Advertisement

Virtual Chassis Feature Guide for EX9200 Switches

Configuring Characteristics of the Virtual Chassis Trace Log File

72
You can optionally configure the following characteristics of the trace log file for a Virtual
Chassis:
Maximum number of trace files—When a trace file named
maximum size, it is renamed
number of trace files is reached. Then the oldest trace file is overwritten. You can
optionally specify the maximum number of trace files to be from 2 through 1000. If
you specify a maximum number of files with the
maximum file size with the
Maximum trace file size—You can configure the maximum trace file size to be from 10
KB through 1 gigabyte (GB) If you specify a maximum file size with the
must also specify a maximum number of files with the
Timestamp—By default, timestamp information is placed at the beginning of each line
of trace output. You can optionally prevent placement of a timestamp on any trace
log file.
Appending or replacing the trace file—By default, the router or switch appends new
information to an existing trace file. You can optionally specify that the router or switch
replace an exisiting trace file instead of appending information to it.
To configure the maximum number and maximum size of trace files:
On the router or switch to be designated as the master of the Virtual Chassis, specify
the maximum number and maximum size of the trace file.
[edit virtual-chassis]
user@host# set traceoptions file filename files number size maximum-file-size
For example, to set the maximum number of files to 20 and the maximum file size to
2 MB for a trace file named
[edit virtual-chassis]
user@host# set traceoptions file vccp files 20 size 2097152
When the
trace file for this example reaches 2 MB,
vccp
a new file named
is created. When the new
vccp
renamed
vccp.1
and
vccp
trace files. Then the oldest file (
To prevent the router or switch from the placing a timestamp on the trace log file:
On the router or switch to be designated as the master of the Virtual Chassis, specify
that a timestamp not appear on the trace log file:
[edit virtual-chassis]
user@host# set traceoptions file filename no-stamp
trace-file.0
, then
trace-file.1
files
size
option.
:
vccp
vccp
is renamed
vccp.0
. This process repeats until there are 20
) is overwritten by the newest file (
vccp.19
reaches its
trace-file
, and so on, until the maximum
option, you must also specify a
option, you
size
option.
files
is renamed
vccp
vccp.0
file reaches 2 MB,
is
vccp.0
vccp.0
Copyright © 2017, Juniper Networks, Inc.
, and
).

Advertisement

Table of Contents
loading

Table of Contents