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:
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:
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).
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:
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.