Enables accounting for command or login information; information is forwarded to the accounting server.
Accounting is disabled.
Global configuration mode
Before enabling login (EXEC) or command accounting for RADIUS, at least one RADIUS server must be configured on the device.
The no form of the command disables accounting. You can also disable accounting by using the aaa accounting command specifying the none option.
The following example configures command accounting, with the CLI information being forwarded to the TACACS+ server.
device(config)# aaa accounting commands default start-stop tacacs+
The following example configures command accounting, with the CLI information being forwarded to the RADIUS server.
device(config)# aaa accounting commands default start-stop radius
The following example disables login accounting by specifying the none option; command accounting (when also configured) remains active.
device(config)# aaa accounting exec default start-stop none
The following example disables login accounting by using the no aaa accounting command; command accounting (when also configured) remains active.
device(config)# no aaa accounting exec default start-stop