test access radius-server
Syntax
Release Information
Command introduced in Junos OS Release 9.1.
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
List of Sample Output
test access radius-server user password secretOutput 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.
Table 1: test access radius-server Output Fields
Field Name | Field Description |
---|---|
Server | The IP address of the RADIUS server authenticated. |
UDP port | The RADIUS server port utilized during the authentication test. |
Source IP Address | “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. |
Server timeout | The RADIUS server timeout period. |
Sever retry count | The number of authentication attempts allowed by the RADIUS server. |
Secret | The shared secret used for authentication with the RADIUS server. |
Client Username | The user name authenticated by the RADIUS server. |
Client Password | The user password authenticated by the RADIUS server. |
Status | The test result status (Accepted or Rejected) and the number of retransmits utilized during authentication. |
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