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

    RADIUS Accounting Statistics for Subscriber Access Overview

    The AAA Service Framework enables you to configure how the router collects and uses accounting statistics for subscriber management.

    For example, you can specify when statistics collection is terminated, the order in which different accounting methods are used, the types of statistics collected, and how often statistics are collected. You can also configure the router to request that the RADIUS server immediately update the accounting statistics when certain events occur, such as when a subscriber logs in or when a change of authorization (CoA) occurs.

    Subscriber management provides two levels of subscriber accounting—subscriber session and service session. In subscriber session accounting, the router collects statistics for the entire subscriber session. In service session accounting, the router collects statistics for specific service sessions for the subscriber.

    Note: Subscriber management counts forwarded packets only. Dropped traffic (for example, as a result of a filter action) and control traffic are not included in the accounting statistics.

    The router uses the RADIUS attributes and Juniper Networks VSAs listed in Table 1 to provide the accounting statistics for subscriber and service sessions. If the session has both IPv4 and IPv6 families enabled, the router reports statistics for both families.

    RADIUS reports subscriber statistics as an aggregate of both IPv4 statistics and IPv6 statistics.

    • For an IPv4-only configuration, the standard RADIUS attributes report the IPv4 statistics and the IPv6 VSA results are all reported as 0.
    • For an IPv6-only configuration, the standard RADIUS attributes and the IPv6 VSA statistics are identical, both reporting the IPv6 statistics.
    • When both IPv4 and IPv6 are configured, the standard RADIUS attributes report the combined IPv4 and IPv6 statistics. The IPv6 VSAs report IPv6 statistics.

    Table 1: RADIUS Attributes and VSAs Used for Per-Subscriber Session Accounting

    Attribute Number

    Attribute Name

    Type of Statistics

    26–151

    IPv6-Acct-Input-Octets

    IPv6

    26–152

    IPv6-Acct-Output-Octets

    IPv6

    26–153

    IPv6-Acct-Input-Packets

    IPv6

    26–154

    IPv6-Acct-Output-Packets

    IPv6

    26–155

    IPv6-Acct-Input-Gigawords

    IPv6

    26–156

    IPv6-Acct-Output-Gigawords

    IPv6

    47

    Acct-Input-Packets

    IPv4 and IPv6 aggregation

    48

    Acct-Output-Packets

    IPv4 and IPv6 aggregation

    52

    Acct-Input-Gigawords

    IPv4 and IPv6 aggregation

    53

    Acct-Output-Gigawords

    IPv4 and IPv6 aggregation

    Published: 2013-02-11