PPP Accounting Statistics

JunosE accounting for tunneled subscribers at the L2TP LAC counts the payload that PPP passes to or receives from L2TP for transport. At this stage in the protocol processing, any padding outside PPP, such as that for PPPoE, has been removed. Accounting includes the authentication acknowledgement packet, CHAP success packets, and PAP acknowledgment packets. Accounting ends when L2TP has been notified to terminate the session. The statistics are reported in the following RADIUS attributes:

Attribute Number

Attribute Name

42

Acct-Input-Octets

43

Acct-Output-Octets

47

Acct-Input-Packets

48

Acct-Output-Packets

Termination of a tunneled session can result from PPP termination, L2TP shutdown, subscriber logout, or lower layer down events. When the session is terminated through PPP, the software counts both the PPP terminate-request and the PPP terminate-acknowledgement packets.

For information on accounting statistics for terminated PPP sessions, see the PPP Accounting Statistics Overview section in the JunosE Link Layer Configuration Guide.

Related Documentation