Administrator Guide

RADIUS Accounting attributes
The following tables describe the various types of attributes that identify the supplicant sessions:
Table 67. RADIUS Accounting Start Record Attributes for CLI user
RADIUS Attribute code RADIUS Attribute Description
NAS Identification Attributes
4 NAS-IP-Address IPv4 address of the NAS.
95 NAS-IPv6–Address IPv6 address of the NAS.
Session Identification Attributes
1 User-Name User name.
5 NAS-Port Port on which session is connected (CLI Session-Id).
31 Calling-Station-Id Telnet/SSH client IP address.
Accounting Attributes
40 Acct-Status-Type START
44 Acct-Session-Id CLI Session-Id - To match start and stop session requests.
61 NAS-Port-Type
ASYNC - for console session.
VIRTUAL - for telnet/SSH session.
Table 68. RADIUS Accounting Stop Record Attributes for CLI user
RADIUS Attribute code RADIUS Attribute Description
NAS Identification Attributes
4 NAS-IP-Address IPv4 address of the NAS.
95 NAS-IPv6–Address IPv6 address of the NAS.
Session Identification Attributes
1 User-Name User name.
5 NAS-Port Port on which session is connected (CLI Session-Id).
6 Service-Type NAS Prompt.
31 Calling-Station-Id Telnet/SSH client IP address.
Accounting Attributes
40 Acct-Status-Type STOP
44 Acct-Session-Id CLI Session-Id - To match start and stop session requests.
46 Acct-Session Time Time the user has received the service.
49 Acct-Terminate-Cause Reason for session termination.
61 NAS-Port-Type
ASYNC - for Console session.
VIRTUAL - for telnet/SSH session.
Table 69. Use cases for CLI user to trigger RADIUS Accounting Start/Stop records
CLI event Accounting type Attributes
CLI user authentication success Start Start record attributes for CLI user.
CLI user log-off Stop Stop record attributes with termination cause as User
Request (1).
CLI user session idle timeout Stop Stop record attributes with termination cause as Idle
Timeout (4).
654 Security