Configuring RADIUS accounting interim request

About this task

Configure RADIUS accounting interim requests to create a log whenever a user executes more than the number of CLI commands you specify.

If the packet size equals or exceeds 1.8 KB, an interim request packet is sent even if the configured limit is not reached. Therefore, the trigger to send out the interim request is either the configured value or a packet size greater than, or equal to 1.8 KB, whichever happens first.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Configure RADIUS accounting interim requests:

    radius cli-cmd-count <1-40>

  3. Include or exclude CLI commands in RADIUS accounting:

    radius accounting include-cli-commands

    Important

    Important

    You must configure the radius accounting include-cli-commands command for accounting interim requests to function.

Example

Switch:1> enable

Switch:1# configure terminal

Switch:1(config)# radius cli-cmd-count 30

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

Variable Definitions

The following table defines parameters for the radius cli-cmd-count command.

Variable

Value

<1-40>

Specifies how many CLI commands, from 1 to 40, before the system sends a RADIUS accounting interim request. The default value is 40.