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

    Configuring Service Interim Accounting

    You can configure user-based interim accounting on the router. In addition, you can configure service-related interim accounting for services that are created during a user RADIUS-based login and services that are activated by a COA operation.

    Configuring service interim accounting comprises the following sets of tasks:

    Specifying the Service Accounting Interval

    You can specify the default interval between service accounting updates by using the aaa service accounting interval command. Service manager uses the default interval when no value is specified in the Service-Interim-Acct-Interval attribute (Juniper VSA 26-140).

    To specify the default interval between service accounting updates:

    • Issue the aaa service accounting interval command in Global Configuration mode.
      host1(config)#aaa service accounting interval 60

      You can specify the service accounting interval in the range of 10–1440 minutes. The default setting is 0, which disables the feature.

      Note: To enable interim service accounting, the service accounting interval must be set to a non-zero value and the service statistics type must not be set to none.

      This command and the aaa user accounting interval command replace the aaa accounting interval command, which is deprecated and might be removed in a future release. The default interval is applied on a virtual router basis—this setting is used for services associated with all users who attach to the corresponding virtual router.

      Use the no version to reset the accounting interval to 0, which turns off interim service accounting when no value is specified in the Service-Interim-Acct-Interval attribute (Juniper VSA 26-140).

    Specifying the User Accounting Interval

    You can specify the default interval between user accounting updates by using the aaa user accounting interval command. The router uses the default interval when no value is specified in the RADIUS Acct-Interim-Interval attribute (RADIUS attribute 85).

    To specify the default interval between user accounting updates:

    • Issue the aaa user accounting interval command in Global Configuration mode.
      host1(config)#aaa user accounting interval 20

      The default interval is applied on a virtual router basis—this setting is used for all users who attach to the corresponding virtual router. You can specify the user accounting interval, in the range 10–1440 minutes. The default setting is 0, which disables the feature.

      This command and the aaa service accounting interval command replace the aaa accounting interval command, which is deprecated and might be removed in a future release.

      Use the no version to reset the accounting interval to 0, which turns off interim user accounting when no value is specified in the RADIUS Acct-Interim-Interval attribute.

    Published: 2014-08-20