RADIUS accounting

In the 7750 SR OS, the accounting paradigm is based on sla-profile instances, yet this is at odds with traditional RADIUS authentication and accounting which is host-centric. In previous OS releases, it was possible to have many hosts sharing a common sla-profile instance, and therefore accounting and QoS parameters. Complications would arise with RADIUS accounting because Accounting-Start and Accounting-Stop are a function of sla-profile instance and not the hosts – this meant that some host-specific parameters (like Framed-Ip-Address) would not be consistently included in RADIUS accounting.

Dual-stack subscribers are now two different hosts sharing a single sla-profile instance. A new RADIUS accounting mode has been introduced to support multiple-host environments.

A new command, host-accounting, is introduced under accounting-policy, which allows configurable behavior.

No host-accounting:

When no host-accounting is configured, accounting behavior is as follows:

Host-accounting enabled:

When host-accounting is configured, additional RADIUS accounting messages are created for host activity in addition to messages for common queue accounting. The behavior is as follows:

This behavior means specific AVP may be in either host, sla-profile instance, or both accounting records. See Table: RADIUS accounting table .

Note:

Interim-Acct records are not sent for hosts, only the start- and stop-accounting messages.

Table: RADIUS accounting table

RADIUS accounting AVP

Host accounting

SLA-profile accounting

User-Name

Yes

NAS-Identifier

Yes

Yes

NAS-IP-Address

Yes

Yes

Nas-Port-Id

Yes

Nas-Port

Yes

Nas-Port-Type

Yes

Service-Type

Yes

Framed-Protocol

Yes

Framed-Ip-Address

Yes

Framed-Ip-Netmask

Yes

Framed-Route

Yes

Class

Yes

Session-Timeout

Yes

Yes

Circuit-Id VSA

Yes

Called-Station-Id

Yes

Calling-Station-Id

Yes

MAC-Addr VSA

Yes

Remote-Id VSA

Yes

Acct-Input-Octets

Yes

Acct-Output-Octets

Yes

Acct-Input-Gigawords

Yes

Acct-Output-Gigawords

Yes

Acct-Session-Id

Yes

Yes

Acct-Session-Time

Yes

Yes

Acct-Input-Packets

Yes

Acct-Output-Packets

Yes

Agent-Circuit-Id

Yes

Agent-Remote-Id

Yes

Actual-Data-Rate-Upstream

Yes

Actual-Data-Rate-Downstream

Yes

Access-Loop-Encapsulation

Yes

Alc-Accounting

Yes

Alc-Subscriber-Id

Yes

Yes

Alc-Subscriber-Profile-String

Yes

Yes

Alc-Sla-Profile-String

Yes

Yes