Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    Understanding RADIUS Accounting for Service Manager

    The Service Manager application supports RADIUS accounting and interim accounting for subscriber service sessions that are activated by the RADIUS login and RADIUS COA methods. When RADIUS accounting is enabled, RADIUS generates:

    • An Acct-Start message when a service session is activated
    • An Acct-Stop message when a service session is deactivated
    • Interim-Acct messages

    RADIUS accounting messages always include Service Manager time statistics. You must enable Service Manager volume statistics for a service session.

    When you terminate a subscriber session, Service Manager first sends RADIUS Acct-Stop messages for any active services associated with the subscriber session, and then sends the Acct-Stop message for the subscriber session.

    Note: Service Manager statistics collection is a three-part procedure. You must configure statistics information in the service definition macro file, enable statistics collection by either RADIUS or the CLI, and also enable statistics collection for the policy referenced in the service macro using the statistics enabled keyword in the command for policy assignment to a profile at the time of attachment of the policy to an interface. For detailed information about Service Manager statistics, see Configuring Service Manager Statistics.

    To support RADIUS accounting for Service Manager, the RADIUS Acct-Session-ID attribute [44] has been extended to include a colon-separated identifier, which uniquely identifies a service for a subscriber. For example:

    erx FastEthernet 12/0:0001048580:002478

    The Service-Session attribute (VSA 26-83) identifies the name of the service. This attribute is the value of the Activate-Service or Deactivate-Service attribute (including parameter values) that was used in the RADIUS Access-Accept message to activate or deactivate the service session. For example:

    tiered(1280000, 5120000)

    Table 1 lists the RADIUS accounting attributes used by the Service Manager application.

    Table 1: Service Manager RADIUS Accounting Attributes

    Attribute Number

    Attribute Name

    RADIUS Message Type

    VSA Description



    For service sessions only:

    Name of the service (including parameter values) with which the statistics are associated



    Access-Accept and

    Number of seconds between accounting updates for a service; a tagged VSA




    Accounting identifier that makes it easy to match start and stop records in a log file; the format is extended to include a colon-separated value that uniquely identifies the subscriber session

    Published: 2014-08-20