Testing a RADIUS Authentication Server

When used to test a RADIUS authentication server, the tool generates an authentication request message for a specific user name.

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, in the Exec mode, use the following command:
test-radius authentication { all | server-group group_name | server server_name port server_port }  { user_namepasswordclient_nas_ip_address } 

NOTES:

  • all : Specify that all configured RADIUS authentication 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 authentication server to test.

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

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

  • password : Specify the password associated with the username that is supplied to the RADIUS server for authentication.

  • 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 authentication all 
The following command verifies the RADIUS authentication for user user1 for the sampleServer .
test-radius authentication server sampleServer port 5000 username user1 password dummyPwd 
The following command verifies the RADIUS authentication server group star1 for user user1 .
test-radius authentication server-group star1 username user1