aaa accounting all default start-stop

Syntax

aaa accounting all default start-stop {local | group <GROUP-LIST>}

no aaa accounting all default

Description

Defines accounting as being local (with the name local). Or defines a sequence of remote AAA servers to be used for accounting purposes. For remote accounting, the information is sent to the first reachable remote server that was configured with this command for remote accounting. If no remote server is reachable, local accounting remains available.

The no form of this command removes configuration of remote accounting, returning the switch to local accounting only.

Command context

config

Parameters

local

Selects local-only accounting.

group <GROUP-LIST>

Specifies the list of remote AAA server group names. Predefined remote AAA group names tacacs and radius are available. User-defined TACACS+ and RADIUS server group names may also be used. The remote AAA servers are accessed in the order that the group names are listed in this command.

Authority

Administrators

Usage

Local accounting is always active. It cannot be turned off.

Examples

Defining an accounting sequence based on a user-defined TACACS+ server group (tac_grp1), and then the default TACACS+ server group (tacacs).

switch(config)# aaa accounting all default start-stop group tac_grp1 tacacs

Defining an accounting sequence based on a user-defined RADIUS server group (rad_grp1), and then the default RADIUS server group (radius).

switch(config)# aaa accounting all default start-stop group rad_grp1 radius

Setting local accounting:

switch(config)# aaa accounting all default start-stop local