test access radius-server
Syntax
test access radius-server address user username password password secret secret <authentication-port port> <retry number> <source-address address> <timeout number>
Description
Verify RADIUS server authentication parameters.
Options
address | RADIUS server under test IP address. |
password | Password for the user. |
secret | Secret shared with the RADIUS server. |
user | User name to be authenticated to the RADIUS server. |
authentication-port | (Optional) RADIUS server authentication port number (1through 65535). |
retry | (Optional) Retry attempts (1through 10). |
source-address | (Optional) Use an alternate address as the source address. |
timeout | (Optional) Request timeout period (1through 90 seconds). |
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the test access radius-server
command. Output fields are listed in the approximate order in which
they appear.
Field Name |
Field Description |
---|---|
|
The IP address of the RADIUS server authenticated. |
|
The RADIUS server port utilized during the authentication test. |
|
“Default” is shown if the IP address is the same as that of the RADIUS server. Alternatively, an IP address specified for authentication is shown. |
|
The RADIUS server timeout period. |
|
The number of authentication attempts allowed by the RADIUS server. |
|
The shared secret used for authentication with the RADIUS server. |
|
The user name authenticated by the RADIUS server. |
|
The user password authenticated by the RADIUS server. |
|
The test result status ( |
Sample Output
test access radius-server user password secret
The following example command tests RADIUS authentication with a specific server (172.28.30.95), user (JOHNDOE), secret (No1Knows), and password (JohnPass); and displays the resulting output:
user@host> test access radius-server 172.28.30.95 user JOHNDOE password JohnPass secret No1Knows Test Radius Server Access Server : 172.28.30.95 UDP port : 1812 Source IP Address : Default Server timeout : 3 Sever retry count : 3 Secret : No1Knows Client Username : JOHNDOE Client Password : JohnPass Status : Accepted, retransmits: 0
Release Information
Command introduced in Junos OS Release 9.1.