Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

test access radius-server

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
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.

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:

content_copy zoom_out_map
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.

footer-navigation