As with authentication and authorization, you must configure AAA accounting by defining a named list ofaccounting methods and then applying that list to various virtual terminal line (VTY) lines.Configuration Task List for AAA AccountingThe following sections present the AAA accounting configuration tasks.• Enabling AAA Accounting (mandatory)• Suppressing AAA Accounting for Null Username Sessions (optional)• Configuring Accounting of EXEC and Privilege-Level Command Usage (optional)• Configuring AAA Accounting for Terminal Lines (optional)• Monitoring AAA Accounting (optional)Enabling AAA AccountingThe aaa accounting command allows you to create a record for any or all of the accounting functionsmonitored.To enable AAA accounting, use the following command.• Enable AAA accounting and create a record for monitoring the accounting function.CONFIGURATION modeaaa accounting {dot+x | system | exec | command level} {default | name} {start-stop | wait-start | stop-only} {tacacs+}The variables are:• system: sends accounting information of any other AAA configuration.• dot1x: Enter the keyword dot1x for dot1x events.• exec: sends accounting information when a user has logged in to EXEC mode.• command level: sends accounting of commands executed at the specified privilege level.• default | name: enter the name of a list of accounting methods.• start-stop: use for more accounting information, to send a start-accounting notice at thebeginning of the requested event and a stop-accounting notice at the end.• wait-start: ensures that the TACACS+ security server acknowledges the start notice beforegranting the user's process request.• stop-only: use for minimal accounting; instructs the TACACS+ server to send a stop recordaccounting notice at the end of the requested user process.• tacacs+: designate the security service. The system supports only TACACS+.ExampleDell(conf)#aaa accounting dot1x default start-stop tacacs+Dell(conf)# tacacs-server host server-address key keySecurity 981