This section specifies the attributes for RADIUS accounting on subscriber service instances. The attributes included in the subscriber service accounting messages are identical to the attributes that are included in the associated parent subscriber session accounting (Host accounting mode for IPoE host and Session accounting mode for PPPoE and IPoE sessions). Volume counters are always reported in standard attributes. Differences for attribute content and additional attributes are detailed in Table: Subscriber service accounting (description).
Attribute ID | Attribute name | Description |
---|---|---|
42 |
Acct-Input-Octets |
octets received for this subscriber service instance. Only included if stats-type is set to volume and time. |
43 |
Acct-Output-Octets |
octets send for this subscriber service instance. Only included if stats-type is set to volume and time. |
44 |
Acct-Session-Id |
Unique generated hexadecimal number that represents the accounting session for this Subscriber Service instance. |
47 |
Acct-Input-Packets |
packets received for this subscriber service instance. Only included if stats-type is set to volume and time. |
48 |
Acct-Output-Packets |
packets send for this subscriber service instance. Only included if stats-type is set to volume and time. |
50 |
Acct-Multi-Session-Id |
Accounting session ID of the parent PPPoE/IPoE session (session acct-session-id) or IPoE host (host acct-session-id). The format (variable length description or fixed 22B hexadecimal number) is identical to the parent PPPoE/IPoE session or IPoE host and determined by session-id-format in the radius-accounting- policy (configure subscriber-mgmt radius-accounting-policy name session-id-format {number | description}). |
52 |
Acct-Input-Gigawords |
indicates how many times (one or more) the [42] Acct-Input-Octets counter has wrapped around 2^32 in the course of delivering this service. Only included if its value is different from zero and stats-type is set to volume and time. |
53 |
Acct-Output-Gigawords |
indicates how many times (one or more) the [42] Acct-Input-Octets counter has wrapped around 2^32 in the course of delivering this service. Only included if its value is different from zero and stats-type is set to volume and time. |
26.6527.151 |
Alc-Sub-Serv-Activate |
Activate a subscriber service. The attribute typically contains parameters as input for the Python script that populates the subscriber service data structure (sub_svc). The attribute is ignored if not used in Python. The parameters can cross an attribute boundary. The concatenation of all Alc-Sub-Serv-Activate attributes with the same tag in a single message is typically used as a unique subscriber service instance identifier (key). In subscriber service RADIUS accounting messages, the attribute is sent untagged and contains the subscriber service data structure sub_svc.name value used at service activation. Multiple attributes may be present if the total length does not fit a single attribute. |
Attribute ID | Attribute name | Type | Limits | SR OS format |
---|---|---|---|---|
42 |
Acct-Input-Octets |
integer |
4 bytes |
For example: Acct-Input-Octets = 5000 |
43 |
Acct-Output-Octets |
integer |
4 bytes |
For example: Acct-Output-Octets = 2000 |
44 |
Acct-Session-Id |
string |
22 bytes |
For example: # Acct-Session-Id = 24ADFF0000000950C5F138 Acct-Session-Id 0x32313238343633353932313032353132313133343039 |
47 |
Acct-Input-Packets |
integer |
4 bytes 4294967295 packets |
For example: Acct-Input-Packets = 15200 |
48 |
Acct-Output-Packets |
integer |
4 bytes 4294967295 packets |
For example: Acct-Output-Packets = 153537 |
50 |
Acct-Multi-Session-Id |
string |
22 bytes (number format) max. 253 bytes (description format) |
For example: Acct-Multi-Session-Id = 24ADFF0000000750C8EB26 |
52 |
Acct-Input-Gigawords |
integer |
4 bytes |
For example: Acct-Input-Gigawords = 7 |
53 |
Acct-Output-Gigawords |
integer |
4 bytes |
For example: Acct-Output-Gigawords = 3 |
26.6527.151 |
Alc-Sub-Serv-Activate |
string |
multiple VSA's per tag per message |
For example: Alc-Sub-Serv-Activate;1 = rate-limit;1000;8000 |
Attribute ID | Attribute name | Acct start | Acct stop | Acct interim-update |
---|---|---|---|---|
42 |
Acct-Input-Octets |
0 |
0-1 |
0-1 |
43 |
Acct-Output-Octets |
0 |
0-1 |
0-1 |
44 |
Acct-Session-Id |
1 |
1 |
1 |
47 |
Acct-Input-Packets |
0 |
0-1 |
0-1 |
48 |
Acct-Output-Packets |
0 |
0-1 |
0-1 |
50 |
Acct-Multi-Session-Id |
1 |
1 |
1 |
52 |
Acct-Input-Gigawords |
0 |
0-1 |
0-1 |
53 |
Acct-Output-Gigawords |
0 |
0-1 |
0-1 |
26.6527.151 |
Alc-Sub-Serv-Activate |
1 |
1 |
1 |