Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    cdrs-per-file

    Syntax

    cdrs-per-file value;

    Hierarchy Level

    [edit unified-edge gateways ggsn-pgw gateway-name charging local-persistent-storage-options]

    Release Information

    Statement introduced in Junos OS Mobility Release 11.2W.

    Description

    The files containing the CDRs are copied from a temporary location on the RE disk to a final location within the same RE disk, from where these files can be SFTP transferred. However, any one of the following conditions must be met (whichever comes first):

    • The number of CDRs per file reaches the configured or default limit.
    • The size of the file reaches the configured or default limit.
    • The age of the file reaches the configured or default limit.

    Note: The default limit is applicable only if you have not configured any value.

    Using this statement, you can configure the maximum number of CDRs that can be added to a file after which the CDR file is closed and copied to a final location within the same disk (/opt/mobility/charging/ggsn/final_log) from where it can be transferred via SFTP. The files thus transferred from the final location should be deleted from the local RE disk after the transfer. Only authorized users can perform this operation.

    Options

    value

    The maximum number of CDRs that can be added to a file after which it is closed and copied to a location within the RE disk, from where it can be SFTP transferred.

    Range: 5000 through 1,000,000

    Default: 0

    Required Privilege Level

    interface—To view this statement in the configuration.

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

    Published: 2011-11-16