Cisco Systems Understanding AAA Accounting in Cisco: Commands and Configuration

Models: XR

1 100
Download 100 pages 9.76 Kb
Page 2
Image 2

Authentication, Authorization, and Accounting Commands on Cisco IOS XR Software

aaa accounting

aaa accounting

To create a method list for accounting, use the aaa accounting command in global configuration mode. To remove a list name from the system, use the no form of this command.

aaaaccounting {commands exec} {default list-name}{start-stop stop-only} {none group {tacacs+ radius group-name}}

no aaa accounting {commands exec} {default list-name}

Syntax Description

commands

Enables accounting for EXEC shell commands.

 

exec

Enables accounting of an EXEC session.

 

 

 

 

default

Uses the listed accounting methods that follow this keyword as the default list

 

 

of methods for accounting services.

 

 

 

 

list-name

Character string used to name the accounting method list.

 

 

 

 

start-stop

Sends a “start accounting” notice at the beginning of a process and a “stop

 

 

accounting” notice at the end of a process. The requested user process begins

 

 

regardless of whether the “start accounting” notice was received by the

 

 

accounting server.

 

 

 

 

stop-only

Sends a “stop accounting” notice at the end of the requested user process.

 

 

 

 

none

Uses no accounting.

 

 

 

 

group tacacs+

Uses the list of all TACACS+ servers for accounting.

 

 

 

 

group radius

Uses the list of all RADIUS servers for accounting.

 

 

 

 

group group-name

Uses a named subset of TACACS+ or RADIUS servers for accounting, as

 

 

defined by the aaa group server tacacs+ command or aaa gbroup server

 

 

radius command.

 

 

 

Defaults

Command Modes

Command History

AAAaccounting is disabled.

Global configuration

Release

Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

 

 

Release 3.0

No modification.

 

 

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

 

 

Release 3.3.0

No modification.

 

 

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Cisco IOS XR System Security Command Reference

SR-2

Page 2
Image 2
Cisco Systems XR manual Aaa accounting, SR-2