set radius accounting

Use this command to configure RADIUS accounting.

Syntax

set radius accounting {[enable] [disable] [intervalminimum value] [updateinterval value] [retries retries] [timeout timeout] [server {index | all} ip_address port server-secret

Parameters

enable | disable Enables or disables the RADIUS accounting client.
intervalminimum value Sets the minimum interval at which RADIUS accounting will send interim updates. Valid values are 60 - 2147483647.
updateinterval value Sets the number of seconds between each RADIUS accounting interim update (when accumulated accounting data is sent to the server for a session.) Valid values are 0 - 2147483647.
retries retries Sets the maximum number of attempts to contact a specified RADIUS accounting server before timing out. Valid retry values are 0 - 20.
timeout timeout Sets the maximum amount of time (in seconds) to establish contact with a specified RADIUS accounting server before timing out. Valid timeout values are 2 - 10.
index | all Applies the settings to a specific RADIUS accounting server or to all. Valid index values: 1 - 2147483647
server ip_address port server-secret Specifies the accounting server‘s:
  • IP address
  • UDP authentication port (0 - 65535)
  • server-secret (Read-Write password to access this accounting server. If not specified, the device will prompt for this entry upon creating a server instance, as shown in the example below.)

Defaults

None.

Mode

All command modes.

Examples

This example shows how to enable the RADIUS accounting client for authenticating with the accounting server 1 at IP address 10.2.4.12, UDP authentication port 1800. As previously noted, the “server secret” password entered here must match that already configured as the Read-Write (rw) password on the RADIUS accounting server.

System(rw)->set radius accounting server 1 10.2.4.12 1800
 Server Secret:******
 Retype Server Secret:******
 Make This Entry Active (y/n)? y
 Warning: rfc2138 recommends secret minimum length of 16

This example shows how to set the RADIUS accounting timeout to 10 seconds on server 6:

System(rw)->set radius accounting timeout 10 6

This example shows how to set RADIUS accounting retries to 10 on server 6:

System(rw)->set radius accounting retries 10 6