Cisco Cisco Packet Data Interworking Function (PDIF)
AAA Server Group Configuration Mode Commands
▀ radius charging accounting algorithm
▄ Command Line Interface Reference, StarOS Release 16
198
radius charging accounting algorithm
This command specifies the fail-over/load-balancing algorithm to be used for selecting RADIUS servers for charging
services.
services.
Product
PDSN
GGSN
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > AAA Server Group Configuration
configure > context context_name > aaa group group_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-aaa-group)#
Syntax
radius charging accounting algorithm { first-n n | first-server | round-robin }
first-n n
Specifies that the AGW must send accounting data to
n
(more than one) AAA servers based on their priority.
Response from any one of the
n
AAA servers would suffice to proceed with the call. The full set of
accounting data is sent to each of the
n
AAA servers.
n
is the number of AAA servers to which accounting data will be sent, and must be an integer from 2 through
128.
Default: 1 (Disabled)
Default: 1 (Disabled)
first-server
Specifies that the context must send accounting data to the RADIUS server with the highest configured
priority. In the event that this server becomes unreachable, accounting data is sent to the server with the next-
highest configured priority. This is the default algorithm.
priority. In the event that this server becomes unreachable, accounting data is sent to the server with the next-
highest configured priority. This is the default algorithm.
round-robin
Specifies that the context must load balance sending accounting data among all of the defined RADIUS
servers. Accounting data is sent in a circular queue fashion on a per Session Manager task basis, where data is
sent to the next available server and restarts at the beginning of the list of configured servers. The order of the
list is based upon the configured relative priority of the servers.
servers. Accounting data is sent in a circular queue fashion on a per Session Manager task basis, where data is
sent to the next available server and restarts at the beginning of the list of configured servers. The order of the
list is based upon the configured relative priority of the servers.
Usage
Use this command to specify the accounting algorithm to use to select RADIUS servers for charging services
configured in the current context.
configured in the current context.
Example
The following command configures to use the round-robin algorithm for RADIUS server selection:
radius charging accounting algorithm round-robin