When the aaa accounting update command is 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 Configuring an Alternate Method to Enable Periodic Accounting Records You can use the following alternative method to enable periodic interim accounting records to be sent to the accounting server.
Procedure Configuring Accounting Configuring an Alternate Method to Enable Periodic Accounting Records Command Purpose Device(config)# aaa accounting update [newinfo] [periodic] number Enables periodic interim accounting records to be sent to the accounting server. Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password, if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 aaa accounting network default Example:
Device(config)# aaa accounting network default Configures the default accounting for all network-related service requests and enters accounting method list configuration mode. Step 4 action-type {none | start-stop [periodic {disable | interval minutes}] | stop-only} Example: Device(cfg-acct-mlist)# action-type start-stop periodic interval 5 Specifies the type of action to be performed on accounting records. • (Optional) The periodic keyword specifies periodic accounting action. • The interval keyword specifies the periodic accounting interval. Configuring Accounting 17