Supported Platforms
Configuring Per-Service Session Accounting
Subscriber management enables you to configure the router to collect statistics on a per-service session basis for subscribers. Per-service session accounting requires two operations. First, RADIUS must be configured to provide the name of the service, the accounting interval to use, and the type of statistics to collect (either time statistics or a combination of time and volume statistics). Second, if RADIUS VSA 26-69 is configured for time and volume statistics, you must also configure a firewall or fast update firewall filter that counts service packets—the service packet information provides the volume statistics.
The router uses the RADIUS attributes and Juniper Networks VSAs discussed in RADIUS Accounting Statistics for Subscriber Access Overview to provide the accounting statistics for the subscriber session.
![]() | Note: The collection of time-only service statistics is supported for all service sessions. However, time and volume statistics are provided for only firewall and fast update firewall service sessions. |
To configure the router to provide per-service accounting statistics:
- Ensure that the required RADIUS VSAs are configured.
See Table 1 for the VSAs that the router uses for per-service accounting.
- Configure the classic firewall filter or fast update filter to count the service packets.
Table 1: Juniper Networks VSAs Used for Per-Service Session Accounting
Attribute Number | Attribute Name | Description | Value |
---|---|---|---|
26-69 | Service-Statistics | Enable or disable statistics for the service |
|
26-83 | Service-Session | Service string sent in accounting stop and start messages from the router to the RADIUS server | string: service-name, with parameter values that are sent from RADIUS server in attribute 26-65. |
26-140 | Service-Interim-Acct-Interval | Amount of time between interim accounting updates for this service |
Note: Values are rounded up to the next higher multiple of 10 minutes. For example, a setting of 900 seconds (15 minutes) is rounded up to 20 minutes (1200 seconds). |