[Contents] [Prev] [Next] [Index] [Report an Error]

file

See the following sections:

file (Associating with a Profile)

Syntax

file filename;

Hierarchy Level

[edit accounting-options class-usage-profile profile-name],
[edit accounting-options filter-profile profile-name],
[edit accounting-options interface-profile profile-name],
[edit accounting-options mib-profile profile-name],
[edit accounting-options routing-engine-profile profile-name]

Release Information

Statement introduced before JUNOS Release 7.4.

The [edit accounting-options mib-profile profile-name] hierarchy added in JUNOS Release 8.2.

Description

The accounting log file to use.

Options

filename—Name of the log file. You must specify a filename already configured in the file statement at the [edit accounting-options] hierarchy level.

Usage Guidelines

See Configuring the Interface Profile, Configuring the Filter Profile, Configuring the MIB Profile, and Configuring the Routing Engine Profile.

Required Privilege Level

interface—To view this statement in the configuration.

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

file (Configuring a Log File)

Syntax

file filename {
archive-sites {
site-name;
}
files number;
nonpersistent;
size bytes;
source-classes time;
transfer-interval minutes;
}

Hierarchy Level

[edit accounting-options]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Information on a log file used for accounting data.

Options

filename—Name of the file in which to write the accounting data.

The remaining statements are explained separately.

Usage Guidelines

See Configuring Files.

Required Privilege Level

interface—To view this statement in the configuration.

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


[Contents] [Prev] [Next] [Index] [Report an Error]