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

    Service Interim Accounting Overview

    Interim accounting determines how often accounting information is updated and sent to an accounting server. In addition to the user-based interim accounting supported on the router, Service Manager supports service-related interim accounting—you can configure an interim accounting interval for services that are created during a user RADIUS-based login and services that are activated by a COA operation.

    The service interim accounting interval is specified by the RADIUS Service-Interim-Acct-Interval attribute (VSA 26-140) that is included in the RADIUS Access-Accept message or COA-Request message that activates a service session. Because the Service-Interim-Acct-Interval attribute is a tagged attribute, you can configure different interim accounting intervals for a particular user’s various services.

    You can use the aaa service accounting interval command to specify the default service interim accounting interval. Service Manager uses this interval value for service accounting when the Service-Interim-Acct-Interval attribute is not configured.

    Note: You can also configure interim accounting for users. A user interim accounting interval is configured in the Acct-Interim-Interval RADIUS attribute (RADIUS attribute 85). You use the aaa user accounting interval command to specify the default user interim accounting interval, which is used when RADIUS attribute 85 is not configured. See the Configuring Remote Access chapter in this guide for information about configuring user interim accounting.

    When the Service-Interim-Acct-Interval attribute is configured for a service, Service Manager uses the guidelines shown in Table 1 to determine the correct interim accounting interval to use for the service.

    Table 1: Determining the Service Interim Accounting Interval

    Service-Interim-Acct-
    Interval Value

    Service Manager Action

    0

    Disables interim accounting for the service

    1–599

    Uses 600

    600–86400

    Uses the specified value

    86401 or greater

    Uses 86400

    The tag for the service-interim-acct-
    interval attribute does not match the tag for any service-activate attribute (VSA 26-65)

    Discards the service-interim-acct-interval attribute

    Table 2 describes a sample Acct-Start message for a service session. In the table, the three fields used by Service Manager are shown in bold characters. An Acct-Start message for a subscriber session without any active services does not include the Service-Session attribute.

    Table 2: Sample Acct-Start Message for a Service Session

    RADIUS Attribute

    Sample Value

    acct-status-type

    1

    username

    client1@isp1.com

    event-timestamp

    1112191723

    acct-delay-time

    0

    nas-identifier

    ERX-01-00-06

    acct-session-id

    erx FastEthernet 12/0:0001048580:002478

    nas-ip-address

    10.6.128.45

    class

    (binary data)

    framed-protocol

    0

    framed-compression

    0

    framed-ip-address

    100.20.0.1

    framed-ip-netmask

    0.0.0.0

    ingress-policy-name (vsa)

    forwardAll

    egress-policy-name (vsa)

    forwardAll

    calling-station-id

    #ERX-01-00-06#E12#0

    acct-input-gigawords

    0

    acct-input-octets

    4032

    acct-output-gigawords

    0

    acct-output-octets

    2163

    acct-input-gigapackets (vsa)

    0

    acct-input-packets

    7

    acct-output-gigapackets (vsa)

    0

    acct-output-packets

    7

    nas-port-type

    15

    nas-port

    3221225472

    nas-port-id

    FastEthernet 12/0

    acct-authentic

    1

    acct-session-time

    0

    acct-service-session

    tiered(1280000, 5120000)

    service-interim-acct-interval

    1200

    Published: 2014-08-20