Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


size (Interface)


Hierarchy Level


Specify attributes of an accounting-data log file.


bytes—Maximum size of each log file, in bytes, kilobytes (KB), megabytes (MB), or gigabytes (GB). When a log file (for example, profilelog) reaches its maximum size, it is renamed profilelog.0, then profilelog.1, and so on, until the maximum number of log files is reached. Then the oldest log file is overwritten. If you do not specify a size, the file is closed, archived, and renamed when the time specified for the transfer interval is exceeded.

  • Syntax: x to specify bytes, xk to specify KB, xm to specify MB, xg to specify GB

  • Range: 256 KB through 1 GB

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.