aaa accounting default

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 }

Syntax Description

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.

Command Default

The local database is the default.

Command Modes

Global configuration mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.

Usage Guidelines

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.

Examples

This example shows how to configure any RADIUS server for AAA accounting:

switch(config)# aaa accounting default group
 

Related Commands

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.