Enabling RADIUS accounting

Before you begin

  • You must configure a RADIUS server before you can enable RADIUS accounting.

About this task

Enable Remote Access Dial-in User Services (RADIUS) accounting to log all of the activity of each remote user in a session on the centralized RADIUS accounting server.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Enable RADIUS accounting globally:

    radius accounting enable

  3. Include or exclude CLI commands in RADIUS accounting updates:

    radius accounting include-cli-commands

  4. Specify the integer value of the CLI commands attribute:

    radius accounting attribute-value <192–240>

Example

Switch:1> enable

Switch:1# configure terminal

Switch:1(config)# radius accounting enable

Switch:1(config)# radius accounting include-cli-commands

Variable Definitions

The following table defines parameters for the radius accounting command.

Variable

Value

enable

Enable RADIUS globally.

include-cli-commands

Include CLI commands in RADIUS accounting updates.

attribute-value <192–240>

Specify the integer value of the CLI commands attribute.