Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    size

    Syntax

    size bytes;

    Hierarchy Level

    [edit accounting-options file filename]

    Release Information

    Statement introduced before Junos OS Release 7.4.

    Statement introduced in Junos OS Release 9.0 for EX Series switches.

    Description

    Specify attributes of an accounting-data log file.

    Options

    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.

    Published: 2013-02-21