Traceoptions - 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

Syntax
Hierarchy Level
Release Information
Description
Default
Options
2958
®
OS for EX Series Ethernet Switches, Release 10.4
traceoptions {
file filename <files number> <size size> <world-readable | no-world-readable> <match
regex>;
flag flag (detail | disable | receive | send);
}
[edit protocols lldp]
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Define tracing operations for the LLDP protocol. CLI enables you to trace messages under
the LLDP Protocol for LLDP and PTOPO MIBs
Tracing operations are disabled.
—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
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.
Range: 2 through 1000
Default: 3 files
flag flag
—Tracing operation to perform. To specify more than one tracing operation,
include multiple flag statements. You can include the following flags:
—All tracing operations.
all
—Trace SNMP configuration operations.
snmp
—Trace configuration operations.
config
—Trace packet events.
packet
—Trace routing socket operations.
rtsock
match regex
—(Optional) Refine the output to include lines that contain the regular
expression.
—(Optional) Restrict file access to the user who created the 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
is renamed
trace-file.0
trace files is reached. Then the oldest trace file is overwritten. If you specify a
to specify KB,
to specify MB, or
xk
xm
trace-file
, then
, and so on, until the maximum number of
trace-file.1
/var/log
.
, then
trace-file.0
trace-file.1
to specify GB
xg
reaches its maximum size, it
Copyright © 2010, Juniper Networks, Inc.
, and
size

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents