aaa accounting mac-auth

Enables or disables RADIUS accounting for MAC authentication sessions.
Syntax
aaa accounting mac-auth default start-stop radius [ none ]
no aaa accounting mac-auth default start-stop radius [ none ]
aaa accounting mac-auth default start-stop none
no aaa accounting mac-auth default start-stop none
Command Default

AAA accounting is disabled.

Parameters
default
Configures the default named list.
start-stop
Configures an accounting start packet to be sent to the RADIUS accounting server when a MAC authentication session is enabled and an accounting stop packet to be sent when the service provided by the command is completed.
radius
Configures RADIUS accounting.
none
Disables accounting. The client is automatically authenticated without the device using information supplied by the client.
Modes

Global configuration mode

Usage Guidelines

You can configure both RADIUS and none as accounting methods. If the configured primary accounting fails due to an error, the device tries the backup accounting methods in the order in which they are configured.

Note: If authorization is enabled, and the command requires authorization, then authorization is performed before accounting occurs. If authorization fails for the command, no accounting takes place.

The no form of the command disables accounting.

Examples

The following example enables accounting for MAC authentication sessions.

device(config)# aaa accounting mac-auth default start-stop radius

The following example enables accounting for MAC authentication and configures RADIUS as the primary accounting method. If the configured primary RADIUS accounting fails due to an error, the device tries the backup accounting method "none"; that is, accounting is disabled.

device(config)# aaa accounting mac-auth default start-stop radius none
History
Release version Command history
08.0.50 This command was introduced.