cisco — 802.1x Accounting Attribute-Value Pairs

802.1x Accounting The 802.1x standard defines how users are authorized and authenticated for network access but does not keep track of network usage. 802.1x accounting is disabled by default. You can enable 802.1x accounting to monitor this activity on 802.1x-enabled ports: • User successfully authenticates. • User logs off. • Link-down occurs. • Reauthentication successfully occurs. • Reauthentication fails. The switch does not log 802.1x accounting information. Instead, it sends this information to the RADIUS server, which must be configured to log accounting messages.

802.1x Accounting Attribute-Value Pairs The information sent to the RADIUS server is represented in the form of Attribute-Value (AV) pairs. These AV pairs provide data for different applications. (For example, a billing application might require information that is in the Acct-Input-Octets or the Acct-Output-Octets attributes of a RADIUS packet.) AV pairs are automatically sent by a switch that is configured for 802.1x accounting. Three types of RADIUS accounting packets are sent by a switch: • START: Sent when a new user session starts • INTERIM: Sent during an existing session for updates • STOP:

Sent when a session terminates This table lists the AV pairs and when they are sent are sent by the switch. Table 2:

Accounting AV Pairs STOP Always Always Always Sometimes Always Always Always Always Configuring IEEE 802.1x Port-Based Authentication 802.1x Accounting Attribute Number AV Pair Name START INTERIM Attribute[1] User-Name Always Always Attribute[4] NAS-IP-Address Always Always Attribute[5] NAS-Port Always Always Attribute[8] Framed-IP-Address Never Sometimes3 Attribute[30] Called-Station-ID Always Always Attribute[31] Calling-Station-ID Always Always Attribute[40] Acct-Status-Type Always Always Attribute[41] Acct-Delay-Time Always Always Configuring IEEE 802.1x Port-Based Authentication 11