RADIUS Accounting
RADIUS accounting is used to send accounting information to the RADIUS accounting server. Accounting information is sent to the server whenever a subscriber logs in or logs out and whenever a subscriber activates or deactivates a subscription.
Both the JUNOSe router and the SAE software send accounting information to the RADIUS accounting server. The JUNOSe router includes accounting information for all Broadband Remote Access Service (B-RAS) sessions. The SAE software sends the RADIUS attributes listed in Table 7 to the RADIUS accounting server. These attributes are used for logging subscriber sessions with activated SAE services. Table 8 contains a detailed description of the NAS-Port-Id attribute of the ERX for various interface types.
We provide flexible RADIUS plug-ins; that is, you can freely define which attributes are used and which values are provided. See SDX Components Guide, Vol. 1, Chapter 5, Configuring Authorization and Tracking Plug-Ins.
User-Request, Lost-Carrier (PPP hangup), Idle-Timeout, Session-Timeout, Admin-Reset
Lost-Carrier is used when the transport interface goes down or when a DHCP lease expires.
User-Request is sent only when the session was terminated through an API call (deactivate session or user logout, but not a PPP logout). This includes scheduled deactivation.
Admin-Reset is sent when a service session is terminated because of updates of the directory data (for example, when a service definition has changed).
Number of seconds since Jan-1, 1970 00:00 UTC
The RADIUS server you are using may present this value differently.
There are two formats, one for subscriber sessions and one for service sessions.
For PPP subscriber sessions, the session ID assigned by the JUNOSe router.
SDX software takes the NAS-Port-ID attribute from the JUNOSe router via COPS and prepends:
<virtualroutername>@<routername> _<NAS-Port-Id-from-ERX>
This attribute contains the full router name, space character, and the NAS-Port-Id attribute as received from the ERX for this interface. Example:
default@erx123 FastEthernet 3/0
NOTE:See Table 8 for a detailed description of the NAS-Port-Id attribute for various interface types.1 [Start], 2 [Stop], 3 [Interim-Update], 7 [Accounting-On], or 8 [Accounting-Off]
The RADIUS server you are using may present these values differently.
The SDX software provides RADIUS accounting that conforms to RFC 2866 - RADIUS Accounting. SDX software Release 4.1.x supports three RADIUS packages: Merit AAA Server 4.22E, Steel-Belted Radius Service Provider Edition (SPE) Release 4.0 from Funk Software, and RAD-Series RADIUS Server version 6.0 from Interlink Networks. The format of the generated accounting log file differs in these RADIUS packages. The accounting log file formats are described in the appropriate chapters in this guide.