Configuring The Pppoe Trace Log Filename; Configuring The Number And Size Of Pppoe Log Files; Configuring Access To The Pppoe Log File; Configuring A Regular Expression For Pppoe Lines To Be Logged - Juniper JUNOS 10.1 - CONFIGURATION GUIDE 1-2010 Configuration Manual

Network interfaces configuration
Table of Contents

Advertisement

The PPPoE traceoptions operations are described in the following sections:

Configuring the PPPoE Trace Log Filename

By default, the name of the file that records trace output for PPPoE is
can specify a different name with the
To configure the filename for PPPoE tracing operations, specify the name of the file
used for the trace output:

Configuring the Number and Size of PPPoE Log Files

By default, when the trace file reaches 128 kilobytes (KB) in size, it is renamed
filename.0
trace file (
You can optionally configure the maximum file size to be from 10 KB through 1
gigabyte (GB). You can also specify the number of trace files to be from 2 through
1000.
For example, you can set the maximum file size to 2 MB, and the maximum number
of files to 20. When the file that receives the output of the tracing operation (
reaches 2 MB,
When the new
is renamed
oldest file (
To configure the number and size of trace files, specify the name, number, and size
of the file used for the trace output:

Configuring Access to the PPPoE Log File

By default, only the user who configures the tracing operation can access the log
files. You can enable all users to read the log file and you can explicitly set the default
behavior of the log file.
Configuring the PPPoE Trace Log Filename on page 845
Configuring the Number and Size of PPPoE Log Files on page 845
Configuring Access to the PPPoE Log File on page 845
Configuring a Regular Expression for PPPoE Lines to Be Logged on page 846
Configuring the PPPoE Tracing Flags on page 846
[edit protocols pppoe traceoptions]
user@host# set file pppoe_1
, then
, and so on, until there are three trace files. Then the oldest
filename.1
) is overwritten.
filename.2
is renamed
filename
reaches 2 MB,
filename
. This process repeats until there are 20 trace files. Then the
filename.0
) is overwritten by the newest file (
filename.19
[edit protocols pppoe traceoptions]
user@host# set file pppoe_1 _logfile_1 files 20 size 2097152
Chapter 57: Configuring Point-to-Point Protocol over Ethernet
file
option.
, and a new file called
filename.0
is renamed
filename.0
filename.0
Configuring the PPPoE Trace Log Filename
. You
pppoed
)
filename
is created.
filename
and
filename.1
filename
).
845

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos 10.1

Table of Contents