Technical Documentation



policy-decision-statistics-profile profile-name {aacl-fields {field-name;}file filename;files file-number;size bytes;}

Hierarchy Level

[edit accounting-options],[edit services service-set service-set-name]

Release Information

Statement introduced in JUNOS Release 9.5.


Create a policy decision statistics profile, which configures the files to which statistics records are exported and the format that is exported.


file filename—Name of the file to receive the accounting-data output. Enclose the name within quotation marks. All files are placed in the directory /var/log.

files number—(Optional) Maximum number of accounting files.

Range: 2 through 1000 files
Default: 2 files

If you specify a maximum number of files, you also must specify a maximum file size with the size option.

profile-name—Name of the policy decision statistics profile.

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: 10240 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.

The remaining statements are explained separately.

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: 2010-04-28