Information
Enables accounting of administrative access by specifying the start and stop of EXEC sessions
Rationale:
The AAA accounting feature enables to track the actions performed by users and to store the data collected into AAA serves for further audit or further analysis. While the aaa accounting serial, ssh, telnet and enable commands collect and sent the accounting records related to the start and end of sessions done on each access type, the aaa accounting command provides the accounting records related to each command entered by the users during the session and whatever the privilege level of the user.
Solution
Run the following in order to record exec mode session start and stop and to send them to the AAA servers
hostname(config)# aaa accounting enable console <server-group_name>
Default Value:
By default, AAA accounting for administrative access is disabled.