The configuration for subscriber service instance accounting sessions is obtained from the RADIUS accounting policies configured in the subscriber profile of the parent subscriber:
The accounting destinations: RADIUS server configuration
Subscriber service instance accounting is sent to multiple destinations when multiple RADIUS accounting policies are configured (for example, config>subscr-mgmt>sub-prof# radius-accounting policy acct-policy-1 acct-policy-2)
Up to five accounting policies can be configured. Each policy is independent of the other, with its own accounting mode, update interval, and include attributes. Because resources are limited for sending out RADIUS account messages, contact your Nokia technical support representative for recommendations.
The accounting attributes (include-radius-attribute) with some exceptions.
Standard accounting attributes are always used for volume accounting, regardless of the configuration in the RADIUS accounting policy.
An untagged [26-6527-151] Alc-Sub-Serv-Activate attribute is included in all subscriber service instance accounting messages. Its value is the subscriber service instance name (alc.sub_svc.name).
Accounting interim updates for subscriber service instance accounting are controlled independently from the parent subscriber accounting session:
Enabling accounting interim updates for a subscriber service instance is achieved by setting the sub_svc.acct_interval TLV in the subscriber services Python script to a value greater than 0: sub_svc.add_to_service(service, sub_svc.acct_interval, 3600)
Disabling accounting interim updates for a subscriber service instance is achieved by setting the sub_svc.acct_interval TLV in the subscriber services Python script to 0: sub_svc.add_to_service(service, sub_svc.acct_interval, 0)
If the parent subscriber has no RADIUS accounting policy configured, subscriber service instance accounting cannot be enabled.
If the parent subscriber has a RADIUS accounting policy configured, subscriber service instance accounting can be disabled by setting the sub_svc.acct_stats_type TLV in the subscriber service Python script to 1 (Off):
sub_svc.add_to_service(service, sub_svc.acct_stats_type, 1)
Each subscriber service instance has a unique accounting session ID included as [44] Acct-Session-Id. The [50] Acct-Multi-Session-Id contains the accounting session ID of the parent PPPoE or IPoE session as shown in Table: Subscriber service accounting multi-session ID.
Subscriber service parent | [50] Acct-Multi-Session-Id |
---|---|
PPPoE session |
Session Acct-Session-Id of the PPPoE session: show service id <service-id> pppoe session detail |
IPoE session |
Session Acct-Session-Id of the IPoE session: show service id <service-id> ipoe session detail |
IPoEv4 host |
Host Acct-Session-Id of the IPoEv4 host: show service id <service-id> subscriber-hosts detail |
The content of the volume counters when the subscriber service accounting statistics type equals volume-time is determined by the subscriber service action. For details, see the subscriber service sections that follow.