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:
Purpose
Command
Enables periodic interim accounting records to be
sent to the accounting server.
Device(config)#
aaa accounting update
[
newinfo
] [
periodic
]
number
When the
aaa accounting update
commandis 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
logged in to the network.
Caution
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:
Purpose
Command
Generates
“
stop
”
records for users who fail to
authenticate at login or during session negotiation
using PPP.
Device(config)#
aaa accounting send
stop-record authentication failure
Sends authentication, authorization, and accounting
(AAA) stop records regardless of whether a start
record was sent earlier.
Device(config)#
aaa accounting send
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
How to Configure Accounting
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......