Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


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


file filename—Use the specified 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) Use the specified 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) 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, or xg to specify GB

  • Range: 10,240 through 1,073,741,824 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. See CLI Explorer.

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 9.5.