file
Syntax
file file-name { archive-sites url; files file-number; size bytes; transfer-interval minutes; }
Hierarchy Level
[edit system services local-policy-decision-function statistics]
Description
Specify a file to which statistics records are exported and the format that is exported.
Options
archive-sites [url]
—Use one or more of the specified destinations for archiving
data.
file-name
—Name of the
file to receive the statistics data output.
files file-number
—(Optional)
Use the specified maximum number of accounting files.
Range: 3 through 1000 files
Default: 3 files
If you specify a maximum number of files, you also must specify
a maximum file size with the size
option.
size bytes
—(Optional)
Use the specified maximum size of each trace file, in kilobytes
(KB), megabytes (MB), or gigabytes (GB).
Syntax:
xk
to specify KB,xm
to specify MB, orxg
to specify GB
Range: 262144 through 1073741824 or the maximum file size supported on your system
If you specify a maximum file size, you also must specify a
maximum number of trace files with the files
option.
transfer-interval minutes
—Use
the specified frequency at which to transfer files to archive sites,
in minutes.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 10.0.