Name

Acct-Link-Count

Synopsis

Attribute Number

51

Length

6

Value

INTEGER

Allowed in

Accounting-Request

Prohibited in

Accounting-Response

Presence in Packet

Not required

Maximum Iterations

Unlimited

This attribute indicates the number of current sessions in a multilink transaction. The way this value is determined is of particular interest. Let’s examine it more closely.

The value field simply shows the number of times links have been observed by the accounting server whose connections are using the same Acct-Multi-Session-ID. The following is a tabulation example of link counts. By using these link counts and enumerating each Accounting Stop packet received, the accounting server can determine when its recordkeeping is complete for any given multilink session:

Multi-Session-ID   Session-ID   Status-Type   Link-Count
52                 21           Start         1
52                 22           Start         2
52                 23           Start         3
52                 22           Stop          3
52                 21           Stop          3
52                 24           Start         4
52                 23           Stop          4
52                 22           Stop          4

Get RADIUS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.