accounting
Enables AAA accounting services on a console line, a virtual terminal line, or a group of lines and applies the specified accounting method list. The no version restores the default method list.
NOTE: To disable accounting for a console line or virtual terminal line, specify a nonexisting accounting method list name (for example, noAccounting).
accounting { exec | commands level } listName
no accounting { exec | commands level }
- exec—Specifies that accounting information is captured for User Exec terminal sessions on the line
- level—Privilege level of User Exec mode commands for which accounting information is captured; in the range 0-15
- listName—Named method list used to specify how accounting is performed
Line Configuration