aaa accounting dot1x

Enables 802.1X accounting.
Syntax
aaa accounting dot1x default start-stop radius [ none ]
no aaa accounting dot1x default start-stop radius [ none ]
aaa accounting dot1x default start-stop none
no aaa accounting dot1x default start-stop none
Command Default

AAA accounting is disabled.

Parameters
default
Configures the default named list.
start-stop
Configures to send an Accounting Start packet to the RADIUS accounting server when an 802.1X session is enabled, and an Accounting Stop packet is 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 they are configured.

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

The no form of the command disables accounting.

Examples

The following example enables 802.1x accounting.

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

The following example enables 802.1x accounting and configures RADIUS as the primary accounting method. If the configured primary RADIUS accounting fails due to an error, the device tried the backup accounting method "none"; that is, accounting will be disabled.

device(config)# aaa accounting dot1x default start-stop radius none