[Contents] [Prev] [Next] [Index] [Report an Error]


Flat File Accounting

The SAE includes a default plug-in for writing accounting information to local files directly. The format of the local file is line oriented, where each accounting record is written to a single line and the values of each accounting record are separated by commas.

The attributes that are included in the file and their order can be configured. An exception is the first attribute, Accounting_status, which determines the type of the accounting record and is always the first attribute.

The first line of each accounting file contains the comma-separated list of attribute names.

Table 10 lists the available attributes.




Table 10: RADIUS Accounting Flat File Attributes 
RADIUS Accounting Attribute
Notes

Accounting_status

Values are start, stop, or interim

User_IP_Address

IP address of client

Accounting_ID

Accounting ID, configured in subscriber entry in the directory

Login_Name

User ID provided at login time

Auth_User_ID

User ID used for service authentication

Terminate_Cause

User-Request, Lost-Service (PPP hangup), Idle-Timeout, Session-Timeout, Admin-Reset

Radius_Class

Derived from service definition

If_Radius_Class

For PPP subscriber sessions, the RADIUS class attribute assigned to the PPP interface

Service_Name

Name of SAE service

Service_Scope

Name of service scope (virtual router in SDX software Release 3.1)

Event_Time

Timestamp

Session_ID

Unique identifier for user and service sessions

If-Session_ID

For PPP subscriber sessions, the session ID assigned by the JUNOSe router

Port_ID

Identification of subscriber interface

Interface_Alias

Alternate name of interface (CLI interface description)

Interface_Descr

Name of IP interface, format: IP <slot>/<port>[.<subinterface]

Nasid

Identification of JUNOSe router for accounting

NAS_IP

IP address of JUNOSe router

SAE_HOST

Hostname of SAE server

In_Octets

Number of octets received from user

Out_Octets

Number of octets sent to user

In_Packets

Number of IP packets received from user

Out_Packets

Number of IP packets sent to user

Session_Time

Length of session in seconds


[Contents] [Prev] [Next] [Index] [Report an Error]