test access profile
Syntax
test access profile profile-name user username password password <detail>
Description
Specify a profile to use to get information from a RADIUS server, which includes all the
information from the test access radius-server
command.
Options
detail |
(Optional) Show the RADIUS attributes returned by the server. |
profile-name |
Access profile name configured. |
password |
Password for the username. |
username |
User name to be authenticated to the RADIUS server. |
Required Privilege Level
view
Output Fields
Table 1 lists the output
fields for the test access profile
command. Output fields are listed in the
approximate order in which they appear.
Field Name |
Field Description |
---|---|
|
Name of the configured access profile. |
|
The user name authenticated by the RADIUS server. |
|
The user password authenticated by the RADIUS server. |
|
Number of RADIUS servers in the configured access profile. |
|
List of RADIUS servers in the configure access profile. |
|
The IP address of the RADIUS server authenticated. |
|
The RADIUS server port utilized during the authentication test. |
|
The source IP address of the client making the RADIUS request. If no address is shown, it defaults to the address of the outgoing interface. |
|
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 test result status (Accepted or Rejected) and the number of retransmits utilized during authentication. |
|
The number of authentication attempts on the RADIUS server. |
|
The list of returned RADIUS attributes, sorted by the attribute name, and including parameter length and value. See your RADIUS server documentation for attribute descriptions. |
|
The name of the attribute. |
|
The attribute length in bytes. |
|
The attribute value. |
Sample Output
test access profile
The following example uses the test access profile
command to access and
display basic information about the RADIUS server(s) shown in the resulting output:
user@host> test access profile alpha user TEST password TEST user@host> test access profile alpha user TEST password TEST Test Radius Profile Access Profile Name : alpha Client Username : TEST Client Password : TEST Num Servers : 5 Server List UDP Source Retry IP Address Port Address Timeout Count Secret Status Attempts 10.1.1.1 1812 10.10.10.10 2 1 TEST Timeout 2 10.1.3.4 1812 Default 1 2 TEST Timeout 3 192.168.10.10 1812 Default 3 3 TEST Accepted 1
test access profile detail
The following example uses the test access profile detail
command to
access and display detailed information about the RADIUS server(s) shown in the resulting
output:
user@host> test access profile alpha user TEST password TEST detail user@host> test access profile alpha user TEST password TEST detail Test Radius Profile Access Detailed Profile Name : alpha Client Username : TEST Client Password : TEST Num Servers : 5 Radius Server List IP Address : 10.1.3.4 UDP Port : 1812 Source Address : 192.168.10.10 Timeout : 2 Retry Count : 1 Secret : TEST Status : Timeout Attempts : 2 IP Address : 10.1.3.5 UDP Port : 1812 Source Address : Default Timeout : 1 Retry Count : 2 Secret : TEST Status : Timeout Attempts : 3 IP Address : 192.168.10.10 UDP Port : 1812 Source Address : Default Timeout : 3 Retry Count : 3 Secret : TEST Status : Accepted Attempts : 1 Attribute List Name Length Value Class 52 SBR2CLÍ Acct-Interim-Interval 4 5 Callback-Id 12 123-456-789 Callback-Number 13 555-555-1212 Class 15 Class information Filter-Id 4 999 Filter-Id 6 12345 Framed-Compression 4 0 Framed-IP-Address 4 10:2:3:4 Framed-IP-Netmask 4 255:255:255:255 Framed-IPv6-Route 15 2001:db8:10:2:3:4:5:6 Framed-MTU 4 1024 Framed-Pool 9 pool sbr Framed-Protocol 4 1 Framed-Route 8 iproute Framed-Routing 4 0 Vendor-Specific 11 583 Idle-Timeout 4 3 Vendor-Specific 10 a4c Vendor-Specific 14 a4c Login-IP-Host 4 10:1:1:1 Login-LAT-Group 10 lat group Login-LAT-Node 9 lat node Login-LAT-Port 9 lat port Login-LAT-Service 12 lat service Login-Service 4 0 Login-TCP-Port 4 1812 Vendor-Specific 10 137 Vendor-Specific 38 137 Vendor-Specific 10 137 Vendor-Specific 9 137 Vendor-Specific 16 137 Vendor-Specific 10 137 Vendor-Specific 10 137 Vendor-Specific 10 137 Vendor-Specific 9 137 Vendor-Specific 10 137 Vendor-Specific 10 137 Vendor-Specific 10 137 Vendor-Specific 10 137 Password-Retry 4 3 Port-Limit 4 100 Prompt 4 Reply-Message 18 Radius Server SB Service-Type 4 2 Session-Timeout 4 10 Termination-Action 4 1 Tunnel-Assignment-ID 4 Tunnel-Client-Auth-ID 6 Tunnel-Client-Endpoint 4 Tunnel-Password 19 Tunnel-Type 4 12 MS BAP Usage 4 0 MS-CHAP MPPE-Keys 32 -1234567890 MS-CHAP2 Success 3 123456789 MS Filter 10 ms-filter MS Link Drop Time Limit 4 5 MS Link Utilization Threshold 4 6 MS MPPE Encryption Policy 4 1 MS MPPE Encryption Types 3 -556677889 MS Primary DNS Server 4 10:1:1:1 MS Primary NBNS Server 4 10:2:2:2 MS Secondary DNS Server 4 10:3:3:3 MS Secondary NBNS Server 4 10:4:4:4
Release Information
Command introduced in Junos OS Release 9.1.