|
|
This chapter describes the function and displays the syntax of commands used to manage accounting on the network. For more information about defaults and usage guidelines, see the corresponding chapter of the Security Command Reference.
To enable AAA accounting of requested services for billing or security purposes when using TACACS+, use the aaa accounting global configuration command. Use the no form of this command to disable accounting.
aaa accounting {system | network | exec | command level} {start-stop || system | Performs accounting for all system-level events not associated with users, such as reloads. |
| network | Runs accounting for all network-related service requests, including SLIP, PPP, PPP NCPs, and ARAP. |
| exec | Runs accounting for EXECs (user shells). This keyword might return user profile information such as autocommand information. |
| command | Runs accounting for all commands at the specified privilege level. |
| level | The command level that should be accounted for. Valid entries are 0 through 15. |
| start-stop | Sends a start record accounting notice at the beginning of a process and a stop record at the end of a process. The start accounting record is sent in the background. The requested user process begins regardless of whether or not the start accounting record was received by the accounting server. |
| wait-start | As in start-stop, sends both a start and a stop accounting record to the accounting server. However, if you use the wait-start keyword, the requested user service does not begin until the start accounting record is acknowledged. A stop accounting record is also sent. |
| stop-only | Sends a stop record accounting notice at the end of the requested user process. |
| tacacs+ | Mandatory. Enables the TACACS-style accounting. |
| radius | Enables the radius-style authorization. |
Use the show accounting command to step through all active sessions and to print all the accounting records for actively accounted functions. To disable this function, use the no form of the command.
show accounting {system | network | exec | command level} {start-stop || system | Performs accounting for all system-level events not associated with users, such as reloads. |
| network | Performs accounting for all network-related service requests, including SLIP, PPP, PPP NCPs, and ARAP. |
| exec | Performs accounting for EXECs (user shells). This keyword might return user profile information such as autocommand information. |
| command | Performs accounting for all commands at the specified privilege level. |
| level | Specifies the command level that needs to be accounted. Valid entries are 0 through 15. |
| start-stop | Sends a start record accounting notice at the beginning of a process and a stop record at the end of a process. The start accounting record is sent in the background. The requested user process begins regardless of whether or not the start accounting record was received by the accounting server. |
| wait-start | Sends both a start and a stop accounting record to the accounting server. However, if you use the wait-start keyword, the requested user service does not begin until the start accounting record is acknowledged. A stop accounting record is also sent. |
| stop-only | Sends a stop record accounting notice at the end of the requested user process. |
| tacacs+ | Enables the TACACS-style accounting. |
|
|