EasyManuals Logo
Home>Juniper>Network Router>ACX2000

Juniper ACX2000 Configuration Guide

Juniper ACX2000
3270 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #413 background imageLoading...
Page #413 background image
To change the filename:
•
Specify a filename for global tracing operations.
[edit system processes dhcp-service traceoptions]
user@host# set file filename
•
Specify a filename for per-interface tracing operations.
[edit system processes dhcp-service interface-traceoptions]
user@host# set file filename
Configuring the Number and Size of Extended DHCP Log Files
You can optionally specify the number of compressed, archived trace log files to be from
2 through 1000. You can also configure the maximum file size to be from 10 KB through
1 gigabyte (GB); the default size is 128 kilobytes (KB).
The archived files are differentiated by a suffix in the format .number.gz. The newest
archived file is .0.gz and the oldest archived file is .(maximum number)-1.gz. When the
current trace log file reaches the maximum size, it is compressed and renamed, and any
existing archived files are renamed. This process repeats until the maximum number of
archived files is reached, at which point the oldest file is overwritten.
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, filename,
reaches 2 MB, filename is compressed and renamed filename.0.gz, and a new file called
filename is created. When the new filename reaches 2 MB, filename.0.gz is renamed
filename.1.gz and filename is compressed and renamed filename.0.gz. This process repeats
until there are 20 trace files. Then the oldest file, filename.19.gz, is simply overwritten
when the next oldest file, filename.18.gz is compressed and renamed to filename.19.gz.
DHCP local server supports the files and size options for the traceoptions statement and
the interface-traceoptions statement. To configure the number and size of trace files:
•
Specify the name, number, and size of the file used for the trace output for global
tracing operations.
[edit system processes dhcp-service traceoptions]
user@host# set file filename files number size maximum-file-size
•
Specify the name, number, and size of the file used for the trace output for per-interface
tracing operations.
[edit system processes dhcp-service interface-traceoptions]
user@host# set file filename files number size maximum-file-size
Configuring Access to the Extended DHCP 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.
355Copyright © 2017, Juniper Networks, Inc.
Chapter 10: Configuring DHCP Client and DHCP Server

Table of Contents

Other manuals for Juniper ACX2000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Juniper ACX2000 and is the answer not in the manual?

Juniper ACX2000 Specifications

General IconGeneral
BrandJuniper
ModelACX2000
CategoryNetwork Router
LanguageEnglish

Related product manuals