Testing a RADIUS Accounting Server

When used to test a RADIUS accounting server, the tool generates an accounting request message for a specific username.

Note

The user name must already be configured on the RADIUS authentication server prior to executing the test.

To execute the RADIUS authentication test tool, enter the following command:
test-radius accounting { all | server-group group_name | server server_name port server_port }  { user_nameclient_nas_ip_address } 

NOTES:

  • all : Specify that all configured RADIUS accounting servers be tested.

  • radius group group_name : Specify the configured RADIUS authentication servers in a RADIUS server group named group_name for server group functionality.

  • server_name : Specify the IP address of a specific RADIUS accounting server to test.

  • server_port : Specify the TCP port over that the system must use when communicating with the RADIUS accounting server to test.

  • user_name : Specify a username that is supplied to the RADIUS server for accounting.

  • client_nas_ip_address : Specify the IP address of the source NAS that is supplied to the RADIUS server for accounting.

Example

The following command verifies all the RADIUS servers.
test-radius accounting all 
The following command verifies the RADIUS accounting for user user1 for the sampleServer .
test-radius accounting server sampleServer port 5000 username user1 
The following command verifies the RADIUS accounting server group star1 for user user1 .
test-radius accounting server-group star1 username user1