Accounting controls

These options are enabled separately, and define how the switch will send accounting data to a RADIUS server:
  • Start-Stop: Applies to the exec, network, and system accounting service types:
    • Send a "start record accounting" notice at the beginning of the accounting session and a "stop record notice" at the end of the session. Both notices include the latest data the switch has collected for the requested accounting type.

    • Do not wait for an acknowledgment.

  • Stop-Only: Applies to the network, exec, system, and command service types, as described below:
    • Send a stop record accounting notice at the end of the accounting session. The notice includes the latest data the switch has collected for the requested accounting type (network, exec, or system service types). For the commandsservice type, sends the "Stop" accounting notice after execution of each CLI command.

    • Do not wait for an acknowledgment.The system option always delivers stop-only operation because the switch sends the accumulated data only when there is a reboot, reload, or accounting on/off event.

Syntax:


aaa accounting <exec|network|system|commands> <start-stop|stop-only> radius
no aaa accounting <exec|network|system|commands> <start-stop|stop-only> radius

Configures RADIUS accounting service type and how data will be sent to the RADIUS server.


<exec|network|system|command>

Specifies an accounting service type to configure. See Accounting service types.

start-stop: Applies to exec, network, and system accounting service types.

stop-only: Applies to all accounting service types.

Example:

For example, to configure RADIUS accounting on the switch with start-stop for exec functions and stop-only for system functions:

Example of configuring accounting types