Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

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]

Release Information

Statement introduced in Junos OS Release 10.0.

Description

Specify a file to which statistics records are exported and the format that is exported.

Options

archive-sites [url]—One or more destinations for archiving data.

filename—Name of the file to receive the statistics data output.

files number—(Optional) 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 size—(Optional) Maximum size of each trace file, in kilobytes (KB), megabytes (MB), or gigabytes (GB).

Syntax: xk to specify KB, xm to specify MB, or xg 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—Frequency at which to transfer files to archive sites, in minutes.

Usage Guidelines

See Configuring Statistics Profiles.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Published: 2012-11-27

Supported Platforms

Published: 2012-11-27