Suppressing Generation of Accounting Records for Null Username Sessions When AAA Accounting is activated, the Cisco IOS software issues accounting records for all users on the system, including users whose username string, because of protocol translation, is NULL. An example of this is users who come in on lines where the aaa authentication login method-list none command is applied. To prevent accounting records from being generated for sessions that do not have usernames associated with them, use the following command in global configuration mode:
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: Configuring Accounting Suppressing Generation of Accounting Records for Null Username Sessions Command or Action Purpose Device(config)# line aux line1 Step 5 Do one of the following: • accounting {arap | commands level | connection | exec} {default | list-name} • ppp accounting{default | list-name} Example: Device(config-line)# accounting arap default Applies the accounting method list to a line or set of lines. or Applies the accounting method list to an interface or set of interfaces. Step 6 end Example:
Device(config-line)# end (Optional) Exits line configuration mode and returns to privileged EXEC mode. Command Purpose Device(config)# aaa accounting suppress null-username Prevents accounting records from being generated for users whose username string is NULL. Configuring Accounting 16