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:

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 158 lists the RADIUS accounting attributes used by the Service Manager application.

Table 158: Service Manager RADIUS Accounting Attributes

Attribute Number

Attribute Name

RADIUS Message Type

VSA Description

[26-83]

Service-Session

For service sessions only:
Acct-Start
Acct-Stop
Interim-Acct

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

[26-140]

Service-Interim-Acct-
Interval

Access-Accept and
COA-Request

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

[44]

Acct-Session-ID

Acct-Start
Acct-Stop
Interim-Acct

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

Related Documentation