To configure authentication, authorization, and accounting (AAA) methods for accounting, use the aaa accounting default command. To revert to the default, use the no form of this command.
aaa accounting default { group { group-list } | local }
no aaa accounting default { group { group-list } | local }
group
|
Specifies that a server group be used for accounting.
|
group-list
|
Space-delimited list that specifies one or more configured RADIUS server groups.
|
local
|
Specifies that the local database be used for accounting.
|
The local database is the default.
Global configuration mode
Release
|
Modification
|
4.0(0)N1(1a)
|
This command was introduced.
|
The group group-list method refers to a set of previously defined RADIUS or TACACS+ servers. Use the radius-server host command to configure the host servers. Use the aaa group server command to create a named group of servers.
If you specify the group method, or local method and they fail, then the accounting authentication can fail.
This example shows how to configure any RADIUS server for AAA accounting:
Command
|
Description
|
---|---|
aaa group server radius
|
Configures AAA RADIUS server groups.
|
radius-server host
|
Configures RADIUS servers.
|
show aaa accounting
|
Displays AAA accounting status information.
|
tacacs-server host
|
Configures TACACS+ servers.
|