Generating Interim Accounting Records - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

How to Configure Accounting

Generating Interim Accounting Records

To enable periodic interim accounting records to be sent to the accounting server, use the following command
in global configuration mode:
Command
Device(config)#
newinfo
[
When the aaa accounting updatecommandis activated, the Cisco IOS software issues interim accounting
records for all users on the system. If the keyword newinfo is used, interim accounting records are sent to the
accounting server every time there is new accounting information to report. An example of this would be
when IPCP completes IP address negotiation with the remote peer. The interim accounting record includes
the negotiated IP address used by the remote peer.
When used with the keyword periodic, interim accounting records are sent periodically as defined by the
number argument. The interim accounting record contains all of the accounting information recorded for that
user up to the time the interim accounting record is sent.
Using the aaa accounting update periodic command can cause heavy congestion when many users are
Caution
logged in to the network.
Generating Accounting Records for Failed Login or Session
When AAA Accounting is activated, the Cisco IOS software does not generate accounting records for system
users who fail login authentication, or who succeed in login authentication but fail PPP negotiation for some
reason.
To specify that accounting stop records be generated for users who fail to authenticate at login or during
session negotiation, use the following command in global configuration mode:
Command
Device(config)#
stop-record authentication failure
Device(config)#
stop-record always
Specifying Accounting NETWORK-Stop Records Before EXEC-Stop Records
For PPP users who start EXEC terminal sessions, you can specify the NETWORK records to be generated
before EXEC-stop records. In cases such as billing customers for specific services, it can be desirable to keep
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1022
aaa accounting update
periodic
number
] [
]
aaa accounting send
aaa accounting send
Purpose
Enables periodic interim accounting records to be
sent to the accounting server.
Purpose
Generates "stop" records for users who fail to
authenticate at login or during session negotiation
using PPP.
Sends authentication, authorization, and accounting
(AAA) stop records regardless of whether a start
record was sent earlier.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents